From ba79deddf6f62e83953c5e8502dd94a4be68cb00 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 24 Aug 2024 17:55:08 +0200 Subject: [PATCH] libbacktrace: it's OK if zstd decompressor sees no backward bits (4ead348) --- public/libbacktrace/elf.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/public/libbacktrace/elf.cpp b/public/libbacktrace/elf.cpp index e88a33b0..430035c4 100644 --- a/public/libbacktrace/elf.cpp +++ b/public/libbacktrace/elf.cpp @@ -1200,14 +1200,7 @@ elf_fetch_bits_backward (const unsigned char **ppin, val = *pval; if (unlikely (pin <= pinend)) - { - if (bits == 0) - { - elf_uncompress_failed (); - return 0; - } - return 1; - } + return 1; pin -= 4;