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
F174130268: D57074.diff
Wed, Sep 30, 7:48 PM
Unknown Object (File)
Wed, Sep 30, 4:45 AM
Unknown Object (File)
Tue, Sep 29, 8:34 AM
Unknown Object (File)
Mon, Sep 28, 11:14 PM
Unknown Object (File)
Mon, Sep 28, 10:35 PM
Unknown Object (File)
Sun, Sep 20, 4:32 AM
Unknown Object (File)
Mon, Sep 7, 11:56 PM
Unknown Object (File)
Mon, Sep 7, 4:47 PM
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