[Bug 259011] unzip omits a check for NULL and can cause pathdup() to seg-fault
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259011] unzip omits a check for NULL and can seg-fault"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Oct 2021 06:33:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259011
Alex Kozlov <ak@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ak@FreeBSD.org
--- Comment #2 from Alex Kozlov <ak@FreeBSD.org> ---
I think this is regression in the libarchive. The libarchive from 12-STABLE
returns:
$unzip -n - < unzip1.zip
Archive: (null)
unzip: Malformed extra data: Consumed 4598 bytes of 4600 bytes
The fix for unzip is simple enough though, something like this (lightly
tested).
--
You are receiving this mail because:
You are the assignee for the bug.