[Bug 244181] unzip: Add passphrase and GLIBC build support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 10 15:32:12 UTC 2020


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

Thomas Hurst <tom at hur.st> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom at hur.st

--- Comment #9 from Thomas Hurst <tom at hur.st> ---
+               memset(passphrase_buf, 0, PPBUFF_SIZE);
+               free(passphrase_buf);

This should probably be using explicit_bzero() to prevent the compiler from
optimizing it away.

tar(1) has the same issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list