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
Unknown Object (File)
Sat, Oct 3, 12:39 PM
Unknown Object (File)
Fri, Oct 2, 9:23 PM
Unknown Object (File)
Fri, Oct 2, 9:04 PM
Unknown Object (File)
Fri, Oct 2, 7:14 PM
Unknown Object (File)
Fri, Oct 2, 6:30 PM
Unknown Object (File)
Fri, Oct 2, 1:15 PM
Unknown Object (File)
Wed, Sep 30, 7:48 PM
Unknown Object (File)
Wed, Sep 30, 4:45 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 73204
Build 70087: arc lint + arc unit