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)
Tue, Nov 26, 12:41 AM
Unknown Object (File)
Wed, Nov 20, 9:09 AM
Unknown Object (File)
Tue, Nov 19, 2:20 AM
Unknown Object (File)
Tue, Nov 19, 2:12 AM
Unknown Object (File)
Tue, Nov 19, 2:05 AM
Unknown Object (File)
Mon, Nov 18, 11:06 AM
Unknown Object (File)
Sun, Nov 17, 11:33 AM
Unknown Object (File)
Sun, Nov 17, 11:25 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57371
Build 54259: arc lint + arc unit

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