Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2010 23:10:23 GMT
From:      arundel@FreeBSD.org
To:        rui@ruilopes.com, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org
Subject:   Re: bin/57088: [cam] [patch] for a possible fd leak in libcam.c
Message-ID:  <201010282310.o9SNAN0N024623@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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