mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
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:
parent
6f912345c1
commit
24c20803a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user