mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
fix broken logic to get the gzip_level_config value from options -1 to -9. This fixes an off-by-one bug that caused gzip -9 output bigger files than the other compression levels. It fixes so that compression level 1 to 3 are actually mapped to level 4 as comments say. It also fixes that levels -4 to -9 is mapped to correct level and avoids out-of-bounds access. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
|---|---|---|
| .. | ||
| libarchive | ||
| ar.c | ||
| bbunzip.c | ||
| bbunzip_test.sh | ||
| bbunzip_test2.sh | ||
| bbunzip_test3.sh | ||
| bzip2.c | ||
| Config.src | ||
| cpio.c | ||
| dpkg.c | ||
| dpkg_deb.c | ||
| gzip.c | ||
| Kbuild.src | ||
| lzop.c | ||
| rpm.c | ||
| rpm.h | ||
| rpm2cpio.c | ||
| tar.c | ||
| unzip.c | ||