[Bug 226005] tftpd: tftpd ignores bad opcodes but doesn't reject them.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 18 17:28:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226005

            Bug ID: 226005
           Summary: tftpd: tftpd ignores bad opcodes but doesn't reject
                    them.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: asomers at FreeBSD.org

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.  The
root cause is a missing else clause in main() at line 434.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list