ci: suppress valgrind failure on Debian related to the xz backdoor

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
This commit is contained in:
Íñigo Huguet 2024-03-27 16:52:26 +01:00
parent ad6fd1955d
commit 9df363c201

View file

@ -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
...
}