Re: [PATCH] libelf: check decompressed ZSTD size

2023-11-23 Thread Mark Wielaard
Hi Aleksei, On Thu, Nov 23, 2023 at 03:31:47PM +, Aleksei Vetrov wrote: > Decompression functions like __libelf_decompress_zlib check that > decompressed data has the same size as it was declared in the header > (size_out argument). The same check is now added to > __libelf_decompress_zstd to

[PATCH] libelf: check decompressed ZSTD size

2023-11-23 Thread Aleksei Vetrov
Decompression functions like __libelf_decompress_zlib check that decompressed data has the same size as it was declared in the header (size_out argument). The same check is now added to __libelf_decompress_zstd to make sure that the whole allocated buffer is initialized. * libelf/elf_compress.