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

--- Comment #4 from CTurt <ct...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to