Page MenuHomeFreeBSD

tftp: Add test case with over-long URL
ClosedPublic

Authored by des on Mon, May 18, 9:34 PM.
Tags
None
Referenced Files
F157682763: D57074.diff
Sun, May 24, 1:22 AM
Unknown Object (File)
Fri, May 22, 1:40 PM
Unknown Object (File)
Fri, May 22, 1:51 AM
Unknown Object (File)
Tue, May 19, 8:34 PM
Unknown Object (File)
Tue, May 19, 1:03 PM
Unknown Object (File)
Tue, May 19, 4:46 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