Page MenuHomeFreeBSD

tftp: Add test case with over-long URL
ClosedPublic

Authored by des on May 18 2026, 9:34 PM.
Tags
None
Referenced Files
F174393060: D57074.id178042.diff
Fri, Oct 2, 9:23 PM
F174390307: D57074.id178409.diff
Fri, Oct 2, 9:04 PM
F174377138: D57074.id178409.diff
Fri, Oct 2, 7:14 PM
F174372027: D57074.diff
Fri, Oct 2, 6:30 PM
F174340953: D57074.id178042.diff
Fri, Oct 2, 1:15 PM
Unknown Object (File)
Wed, Sep 30, 7:48 PM
Unknown Object (File)
Wed, Sep 30, 4:45 AM
Unknown Object (File)
Tue, Sep 29, 8:34 AM
Subscribers

Details

Summary

This adds a test case that passes a very long URL on the command line,
which would previously have resulted in a benign buffer overflow in
urihandling(), detectable only by compiling tftp with ASAN enabled.

MFC after: 1 week

Diff Detail

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