libbacktrace: it's OK if zstd decompressor sees no backward bits (4ead348)

This commit is contained in:
Bartosz Taudul 2024-08-24 17:55:08 +02:00
parent 8f3b312b7c
commit ba79deddf6
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1200,14 +1200,7 @@ elf_fetch_bits_backward (const unsigned char **ppin,
val = *pval; val = *pval;
if (unlikely (pin <= pinend)) if (unlikely (pin <= pinend))
{
if (bits == 0)
{
elf_uncompress_failed ();
return 0;
}
return 1; return 1;
}
pin -= 4; pin -= 4;