Page MenuHomeFreeBSD

tftpd: Immediately reject any request shorter than 4 bytes.
ClosedPublic

Authored by des on Thu, Apr 25, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 1:08 PM
Unknown Object (File)
Sun, Apr 28, 5:31 PM
Unknown Object (File)
Sat, Apr 27, 7:27 PM
Unknown Object (File)
Sat, Apr 27, 5:42 AM
Unknown Object (File)
Fri, Apr 26, 7:32 PM
Unknown Object (File)
Fri, Apr 26, 7:31 PM
Unknown Object (File)
Fri, Apr 26, 7:31 PM
Unknown Object (File)
Fri, Apr 26, 7:31 PM
Subscribers

Details

Summary

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Thu, Apr 25, 5:24 PM
This revision is now accepted and ready to land.Thu, Apr 25, 5:47 PM

forgot to include include

This revision now requires review to proceed.Thu, Apr 25, 5:56 PM
This revision is now accepted and ready to land.Thu, Apr 25, 6:00 PM

revert header change and hardcode 4

This revision now requires review to proceed.Thu, Apr 25, 6:16 PM
kevans added inline comments.
libexec/tftpd/tftpd.c
231

I'd maybe just toss in a quick /* tftphdr */ to draw the connection and make it seem less arbitrary, but I do not insist

This revision is now accepted and ready to land.Thu, Apr 25, 6:33 PM