hastd: memory leaks if fork() fails
Mikolaj Golub
to.my.trociny at gmail.com
Fri Sep 24 03:51:06 UTC 2010
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.
--
Mikolaj Golub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hooks.c.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100924/2e0fd515/hooks.c.bin
More information about the freebsd-fs
mailing list