summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/if_ex.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2007-10-05 14:19:05 +0000
committerchl <chl@openbsd.org>2007-10-05 14:19:05 +0000
commit2b43731e48b7dbde1f974bd3760baabad38c019e (patch)
treed7351ce64724ed6fc80cbfcc199bc92252e1abe0 /sys/dev/isa/if_ex.c
parentcheck fgets return value (diff)
downloadwireguard-openbsd-2b43731e48b7dbde1f974bd3760baabad38c019e.tar.xz
wireguard-openbsd-2b43731e48b7dbde1f974bd3760baabad38c019e.zip
use strcspn to properly overwrite '\n' in fgets returned buffer
check fgets return value use sizeof (buf) instead of hardcoded value with help of moritz@ and ray@ "Those seem OK" moritz@ "OK" ray@ "Looks OK" millert@
Diffstat (limited to 'sys/dev/isa/if_ex.c')
0 files changed, 0 insertions, 0 deletions