Page MenuHomeFreeBSD

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

Authored by des on Apr 25 2024, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 12:33 PM
Unknown Object (File)
Feb 9 2025, 8:33 AM
Unknown Object (File)
Feb 3 2025, 3:55 AM
Unknown Object (File)
Feb 3 2025, 3:43 AM
Unknown Object (File)
Feb 3 2025, 1:18 AM
Unknown Object (File)
Feb 1 2025, 11:28 AM
Unknown Object (File)
Jan 17 2025, 4:18 PM
Unknown Object (File)
Nov 26 2024, 12:41 AM
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.Apr 25 2024, 5:24 PM
This revision is now accepted and ready to land.Apr 25 2024, 5:47 PM

forgot to include include

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

revert header change and hardcode 4

This revision now requires review to proceed.Apr 25 2024, 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.Apr 25 2024, 6:33 PM