summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÍñigo Huguet <ihuguet@redhat.com>2024-03-27 16:52:26 +0100
committerÍñigo Huguet <ihuguet@redhat.com>2024-04-04 11:34:00 +0200
commit9df363c201b4be22d975cb8c8b4a783c4e9db061 (patch)
tree114a71f109f94a5ee829130c271246727a11dc8d
parentad6fd1955d1932f3cacab1b9efb2250201d2f97e (diff)
ci: suppress valgrind failure on Debian related to the xz backdoorih/valgrind-lzma
On Debian sid and testing we get these Valgrind failures that are not related to our code, but to the xz backdoor that has been discovered. Supress them. If we don't do it, we'll need to ignore the red state and it might cover other problems different to this one. The suppression contains the version of liblzma so I hope that it won't be used once liblzma is updated to a new (and fixed) version in Debian repos. Valgrind logs: Invalid write of size 8 at 0x508AD45: ??? (in /usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0) by 0x506D81B: ??? (in /usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0) by 0x6A00000006: ??? by 0x5066FFF: ??? (in /usr/lib/x86_64-linux-gnu/liblz4.so.1.9.4) by 0x203A2900A5DE11FF: ??? by 0x1FFEFFC34F: ??? by 0x400EFAA: elf_machine_rela (dl-machine.h:300) by 0x400EFAA: elf_dynamic_do_Rela (do-rel.h:147) by 0x400EFAA: _dl_relocate_object (dl-reloc.c:301) by 0x52296FF: ??? by 0x543762F: ??? by 0x1FFEFFC2DF: ??? Address 0x1ffeffb3f8 is on thread 1's stack 136 bytes below stack pointer
-rw-r--r--valgrind.suppressions11
1 files changed, 11 insertions, 0 deletions
diff --git a/valgrind.suppressions b/valgrind.suppressions
index 0552625192..759688a732 100644
--- a/valgrind.suppressions
+++ b/valgrind.suppressions
@@ -509,3 +509,14 @@
fun:inet_pton
...
}
+{
+ _xz_backdoor
+ Memcheck:Addr8
+ obj:/usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0
+ obj:/usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0
+ ...
+ fun:elf_machine_rela
+ fun:elf_dynamic_do_Rela
+ fun:_dl_relocate_object
+ ...
+}