1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/usr.bin/compress
gkoehler eaf8e725e6 Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz"
Have -c override -N, like other gzip implementations.  Before, our -N
(decompress to stored name) overrode -c (cat to stdout) and crashed
with a pledge violation, because the pledge for -c excludes wpath.

Guilherme Janczak reported the pledge violation in July 2022 and
provided a diff to prevent it, along with a regress test.  I rewrote
the diff and expanded the regress.

ok kn@ millert@
2023-11-11 02:52:55 +00:00
..
compress.1 Add support to gunzip for zip files that contain a single member. 2022-10-22 14:41:27 +00:00
compress.h spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
gzexe
gzexe.1
gzip.1 Add support to gunzip for zip files that contain a single member. 2022-10-22 14:41:27 +00:00
gzopen.c Fix gzip byte counts with 32-bit integers 2022-06-18 03:23:19 +00:00
main.c Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz" 2023-11-11 02:52:55 +00:00
Makefile Add support to gunzip for zip files that contain a single member. 2022-10-22 14:41:27 +00:00
nullopen.c
zdiff I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
zdiff.1 I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
zforce
zforce.1
zipopen.c Add support to gunzip for zip files that contain a single member. 2022-10-22 14:41:27 +00:00
zmore I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
zmore.1 I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
znew
znew.1
zopen.c