]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r330720:
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Aug 2018 14:19:56 +0000 (14:19 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Aug 2018 14:19:56 +0000 (14:19 +0000)
commite2f93f13b1cf208149426a8dbe90072400733bf5
tree3416c8cb979992da9d189df1d5dea7827a7d2d10
parent799edf0ad8af9f553b3d9ff319459f310e97bd35
MFC r330720:

tftpd: reject unknown opcodes

If tftpd receives a command with an unknown opcode, it simply exits 1.  It
doesn't send an ERROR packet, and the client will hang waiting for one.  Fix
it.

PR: 226005

git-svn-id: svn://svn.freebsd.org/base/stable/10@337250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/tftpd/tests/functional.c
libexec/tftpd/tftpd.c