Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/gzip



Module Name:    src
Committed By:   mrg
Date:           Fri Jan  9 21:31:02 UTC 2026

Modified Files:
        src/usr.bin/gzip: unpack.c unxz.c

Log Message:
fix problems introduced by larger pre/prelen buffers.

avoid copying more than buffers can take, and restructure some things
to allow consuming the pre buffer later.

should fix problems with anita and automated testing, that i did not
see since i use gzip sets, not xz sets.

the lz decompressor is still broken, and will need a funopen(3) change
similar to how zuncompress version works today.

tested on a bunch of inputs, though i was unable to find old "pack"d
files to properly test, i was able to confirm it acts the same on a
corrupted pack file i have.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/unpack.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/gzip/unxz.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index