diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-09 12:36:39 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-09 12:36:39 +0000 |
commit | c59518e8bf05d8494a56e3664893de452a616f72 (patch) | |
tree | 1ddd805741584fbfb51f8394a80edbc75dcc625f /usr.sbin/spray | |
parent | 1d1dc042dbf29e6c033bd8b38bf65fe37f95b621 (diff) |
check fgets return value
use strcspn to properly overwrite '\n' in fgets returned buffer
with help and ok from moritz@ and ray@
Diffstat (limited to 'usr.sbin/spray')
0 files changed, 0 insertions, 0 deletions