https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204943

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Jilles Tjoelker <[email protected]> ---
Although this fix is not wrong as such, fixing the memory leak in this
extremely rare error case does not make much sense if the happy path and error
cases that may actually happen still leak the memory. Note that this memory
leak is only a problem if the code in newfs_msdos.c is changed so it does not
exit immediately after mkfs_msdos() returns, or for static analyzers.

The error from sigaction() could also be ignored (silently or loudly), reducing
the code size, since a SIGINFO handler is not strictly required for creating a
filesystem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to