bug#54759: Compile error on macOS w/ gcc

2022-04-06 Thread Young Mo Kang
Hello gzip devs and maintainers, Not sure if this issue has been already brought up, since I’m not subscribed to the email. I am having compilation error on M1 mac running macOS 11.6.3 with gcc 11.2.0. It compiles just fine with clang, but not with gcc. The reproducible commands: ``` wget https

bug#56247: inflate fails to reject invalid distance

2022-06-26 Thread Young Mo Kang
Hello gzip devs and maintainers, I noticed that GNU gzip does not check for error during decompression when the distance value exceeds the current accumulative position, i.e., back reference to position beyond the starting point. The following shows an example .gz file with invalid distance ``

bug#67022: Gzip decompression can be 60% faster using zlib's CRC32

2023-11-09 Thread Young Mo Kang
Hello, I have noticed that GNU Gzip's CRC32 calculation is the main bottleneck in decompression, and it can run significantly faster >60% if we replace it with crc32 function from zlib. I tested decompression speed of linux source code tar.gz file before and after replacing CRC32 computati