hastd: memory leaks if fork() fails

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Sep 26 10:39:30 UTC 2010


On Fri, Sep 24, 2010 at 06:51:02AM +0300, Mikolaj Golub wrote:
> Hi,
> 
> Although it is rather unlikely situation but anyway :-)
> 
> If fork() fails in hook_execv() hastd leaks some bytes referred by hp. See the
> attached patch.

Committed, thanks!

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100926/56fc0175/attachment.pgp


More information about the freebsd-fs mailing list