[Bug 249327] IP address parsing in netgraph eats to many characters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 15 05:59:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249327

            Bug ID: 249327
           Summary: IP address parsing in netgraph eats to many characters
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: markus at stoffdv.at

Created attachment 217966
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217966&action=edit
Suggested fix for ng_parse.c

The IP address parse type in ng_parse.c eats one character to much on the
input.

Example:

Given '{ inet=10.0.0.1 }', after the IP address has been parsed the next
character on the input should be the space (' '), but instead it is the closing
curly brace '}'.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list