Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Mar 2020 13:55:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244681] archivers/unzip: handle trailing 0s in extra fields
Message-ID:  <bug-244681-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244681

            Bug ID: 244681
           Summary: archivers/unzip: handle trailing 0s in extra fields
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: michael.osipov@siemens.com
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Assignee: ehaupt@FreeBSD.org

There seems to be ZIP files which contain trailing 0s in the extra fields.
Unzip reports:=20

/usr/local/bin/unzip -tq f0a8...

> <filename>    bad extra-field entry:
>      EF block length (0 bytes) invalid (< 4)

This comes from patch-extract.c.

But

> /usr/bin/unzip -tq f0a8...
> No errors detected in compressed data of f0a8...

This has also been reported with
https://github.com/libarchive/libarchive/issues/1056 and fixed there with
https://github.com/libarchive/libarchive/commit/c2f931fc20e57bb6721b40d1fc3=
cff2d4e92496d

Such a patch should also be backported for this port.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244681-7788>