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
F169875665: D58555.id183111.diff
Wed, Sep 2, 8:55 PM
F169755944: D58555.id183317.diff
Wed, Sep 2, 11:31 AM
F169684591: D58555.diff
Wed, Sep 2, 7:10 AM
F169683392: D58555.diff
Wed, Sep 2, 7:06 AM
Unknown Object (File)
Tue, Sep 1, 9:28 PM
Unknown Object (File)
Tue, Sep 1, 6:28 PM
Unknown Object (File)
Tue, Sep 1, 10:47 AM
Unknown Object (File)
Mon, Aug 31, 11:48 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.