Page MenuHomeFreeBSD

ppp: Avoid overflow when formatting endpoint discriminator options
ClosedPublic

Authored by markj on Jul 30 2026, 3:03 PM.
Tags
None
Referenced Files
F172826945: D58555.diff
Mon, Sep 21, 8:39 AM
Unknown Object (File)
Thu, Sep 17, 5:15 PM
Unknown Object (File)
Fri, Sep 11, 3:56 AM
Unknown Object (File)
Fri, Sep 11, 2:42 AM
Unknown Object (File)
Tue, Sep 8, 8:24 PM
Unknown Object (File)
Tue, Sep 8, 12:31 PM
Unknown Object (File)
Sun, Sep 6, 9:16 AM
Unknown Object (File)
Sun, Sep 6, 5:00 AM
Subscribers

Diff Detail

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

Event Timeline

markj requested review of this revision.Jul 30 2026, 3:03 PM

Cast bytes to unsigned char, otherwise a negative byte will be sign
extended and occupy more than two bytes of the buffer.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 3 2026, 3:23 PM
This revision was automatically updated to reflect the committed changes.