[Bug 207626] [cam] Memory leak in ctl.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 4 10:24:31 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207626
--- Comment #4 from CTurt <cturt at hardenedbsd.org> ---
Shawn, in your patch, setting `tmpptr` to `NULL` after it has been freed is
unnecessary since it is out of scope of the `bailout` label, so nothing can use
the freed pointer to cause use after free, after the `goto`; however it may be
preferable to do so out of good practice.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list