From 1a1d7bbb54bd5e060faccb33479a2a3527fab32e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 20 Apr 2022 01:14:41 +0200 Subject: [PATCH] Sync libbacktrace with 4d2dd0b. --- libbacktrace/elf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbacktrace/elf.cpp b/libbacktrace/elf.cpp index 50715bf9..88de1f08 100644 --- a/libbacktrace/elf.cpp +++ b/libbacktrace/elf.cpp @@ -1803,7 +1803,7 @@ elf_zlib_inflate (const unsigned char *pin, size_t sin, uint16_t *zdebug_table, /* An uncompressed block. */ /* If we've read ahead more than a byte, back up. */ - while (bits > 8) + while (bits >= 8) { --pin; bits -= 8;