Sync libbacktrace with 4d2dd0b.

This commit is contained in:
Bartosz Taudul 2022-04-20 01:14:41 +02:00
parent 5439a7cd8a
commit 1a1d7bbb54
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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;