diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-04-02 08:04:53 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-04-02 08:04:53 +0000 |
commit | 1df025fc6b3d269fad5c5f838ecd9a101e37f080 (patch) | |
tree | d31fe9a6daffaa9db7530d07a42d241b866a4df0 /include | |
parent | e308f93242ab3516371f98ec34ad545dc613c207 (diff) |
The scanf(3) family of functions can return EOF (-1) if an input
failure occurs. So check it, before blindly adding it to some
pointer.
ok millert@
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions