Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2009 11:41:23 GMT
From:      brucec@FreeBSD.org
To:        bruce@cran.org.uk, brucec@FreeBSD.org, freebsd-usb@FreeBSD.org
Subject:   Re: usb/138559: [usb8] [patch] uether sysctl handler doesn't NUL-terminate the string
Message-ID:  <200909061141.n86BfNs8060305@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909061141.n86BfNs8060305>