]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
leak-detective: Whitelist C++'s __cxa_get_globals()
authorTobias Brunner <tobias@strongswan.org>
Mon, 26 Jun 2023 12:30:01 +0000 (14:30 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 13 Jul 2023 08:48:53 +0000 (10:48 +0200)
src/libstrongswan/utils/leak_detective.c

index 0f9665843d4ab2035ed033dd9d37fd31419800ba..437eddab7d7d4662cc75f8c6b5de2fb3c39e358e 100644 (file)
@@ -666,6 +666,8 @@ static char *whitelist[] = {
        "botan_privkey_load",
        "botan_privkey_load_rsa_pkcs1",
        "botan_kdf",
+       /* C++ due to Botan */
+       "__cxa_get_globals",
 };
 
 /**