Package: pigz / 2.3.1-2

Metadata

Package Version Patches format
pigz 2.3.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
no_path_max | (download)

pigz.c | 19 11 + 8 - 0 !
1 file changed, 11 insertions(+), 8 deletions(-)

---
0001 Simplify justname.patch | (download)

pigz.c | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 [patch 1/2] simplify justname().

This uses strrchr() instead of a manual search, and avoids an
illegal pointer calculation for purists (one less than the start
of the buffer).

0002 When decompressing with N or NT strip any path from .patch | (download)

pigz.c | 37 23 + 14 - 0 !
1 file changed, 23 insertions(+), 14 deletions(-)

 [patch 2/2] when decompressing with -n or -nt, strip any path from
 header name.

This uses the path of the compressed file combined with the name
from the header as the name of the decompressed output file.  Any
path information in the header name is stripped.  This avoids a
possible vulnerability where absolute or descending paths are put
in the gzip header.

Conflicts:
	pigz.c

(EB: trivial merge at "/* replace .tgz with .tar when decoding */")