HomeFreeBSD

ng_parse: IP address parsing in netgraph eating too many characters

Description

ng_parse: IP address parsing in netgraph eating too many characters

Once the final component of the IP address has been parsed, the offset
on the input must not be advanced, as this would remove an unparsed
character from the input.

Submitted by: Markus Stoff
Reviewed by: donner
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D26489

Details

Provenance
markus_stoffdv.atAuthored on May 18 2021, 8:35 PM
donnerCommitted on May 18 2021, 8:36 PM
Reviewer
donner
Differential Revision
D26489: IP address parsing in netgraph eating too many characters
Parents
rG7fd8baee756e: test/libalias: Tests for instantiation
Branches
Unknown
Tags
Unknown