library: Exclude the check_memwipe() function from AddressSanitizer
Newer versions of AddressSanitizer (e.g. in Ubuntu 24.04) will report this now as stack-use-after-return.
This commit is contained in:
@@ -278,6 +278,7 @@ static void do_magic(int *magic, int **out)
|
||||
/**
|
||||
* Check if memwipe works as expected
|
||||
*/
|
||||
ADDRESS_SANITIZER_EXCLUDE
|
||||
static bool check_memwipe()
|
||||
{
|
||||
int magic = 0xCAFEBABE, *buf, i;
|
||||
|
||||
Reference in New Issue
Block a user