bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

--with-tests and address sanitizer


From: Vivien Kraus
Subject: --with-tests and address sanitizer
Date: Mon, 05 Sep 2022 21:06:30 +0200
User-agent: Evolution 3.42.1

Dear gnulib developers,

If I try to include the gnulib tests with my project, and build with
address sanitizer, then almost all tests fail, many of which because of
64 bytes allocated in argz_add_sep, a few others are because the amount
of bytes required for an allocation is too large, and asan detects a
heap-buffer-overflow in test-free.

Is the heap-buffer-overflow test safe to run at all?

Are my memory leaks a known problem? Is there a way to fix them?

Otherwise, is there a way to easily disable asan for the gnulib tests?

Best regards,

Vivien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]