summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2008-10-13 21:04:52 +0000
committerrdivacky <rdivacky@FreeBSD.org>2008-10-13 21:04:52 +0000
commitead773b051a53f42e87af702e86dcd261d2821f7 (patch)
tree8d07078a1a027ce3e9d31d40d08b1332d9176b48 /usr.bin/tftp/main.c
parentaab9e7a8a61c62cd7b1dccb109f5a637f7627f80 (diff)
downloadFreeBSD-src-ead773b051a53f42e87af702e86dcd261d2821f7.zip
FreeBSD-src-ead773b051a53f42e87af702e86dcd261d2821f7.tar.gz
Check the result of copyin and in a case of error
return one. This prevents setting wrong priority or (more likely) returning EINVAL. Approved by: kib (mentor)
Diffstat (limited to 'usr.bin/tftp/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud