usb/138559: [usb8] [patch] uether sysctl handler doesn't NUL-terminate the string

brucec at FreeBSD.org brucec at FreeBSD.org
Sun Sep 6 11:41:23 UTC 2009


Synopsis: [usb8] [patch] uether sysctl handler doesn't NUL-terminate the string

State-Changed-From-To: open->closed 
State-Changed-By: brucec
State-Changed-When: Sun Sep 6 11:34:49 UTC 2009
State-Changed-Why: 
It appears it's not a bug in usb_ethernet.c because the sysctl node isn't 
created with the CTLTYPE_STRING flag, which requires that strings be
nul-terminated instead of relying on the length parameter. The string 
therefore gets nul-terminated elsewhere.

http://www.freebsd.org/cgi/query-pr.cgi?pr=138559


More information about the freebsd-usb mailing list