diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-07 16:30:26 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-07 16:30:26 +0000 |
commit | 7e8b13bd425975b8103e6f91764990f6cb898083 (patch) | |
tree | 437ff2adf85cac43b6c8bd87f5998e4f89a7410b /sys | |
parent | 187ba8e20ad6081514a8c14c78d662f5f54d8aa3 (diff) |
check fgets return value
use sizeof buf instead of TP_BSIZE
use strcspn to properly overwrite '\n' in fgets returned buffer
ok moritz@ ray@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions