bin/57088: [cam] [patch] for a possible fd leak in libcam.c

arundel at FreeBSD.org arundel at FreeBSD.org
Thu Oct 28 23:10:23 UTC 2010


Synopsis: [cam] [patch] for a possible fd leak in libcam.c

State-Changed-From-To: suspended->open
State-Changed-By: arundel
State-Changed-When: Thu Oct 28 22:27:36 UTC 2010
State-Changed-Why: 
The fd leak was fixed in r158171. The possible buffer overruns however still
exist.
I'll submit a patch shortly (against HEAD), which will turn all sprintf(3) calls
in connection with cam_errbuf to snprintf(3) calls. Although this might not be
necessary in all cases, it should however improve overall robustness of
camlib.c.


Responsible-Changed-From-To: freebsd-bugs->freebsd-fs
Responsible-Changed-By: arundel
Responsible-Changed-When: Thu Oct 28 22:27:36 UTC 2010
Responsible-Changed-Why: 
Over to maintainer(s).

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


More information about the freebsd-fs mailing list