[Bug 245971] [patch sbin/dhclient] remove_protocol() can mangle linked list

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 27 14:29:39 UTC 2020


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

            Bug ID: 245971
           Summary: [patch sbin/dhclient] remove_protocol() can mangle
                    linked list
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: joost at jodocus.org

Created attachment 213856
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213856&action=edit
patch against HEAD (rev 360336)

The remove_protocol() function is meant to remove one specific entry from a
singly-linked list. While removing the entry, the next entry is set as the
start of the list, disregarding all entries before the one being removed.

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


More information about the freebsd-bugs mailing list