]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
leak-detective: Add `on_exit(3)` to whitelist
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Apr 2023 12:17:37 +0000 (14:17 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 27 Apr 2023 11:52:34 +0000 (13:52 +0200)
Seems to allocate some TLS value in newer glibc versions.

src/libstrongswan/utils/leak_detective.c

index 2eb2f8e0adb7153f3661f99cac77a24bb98ea8b5..0f9665843d4ab2035ed033dd9d37fd31419800ba 100644 (file)
@@ -541,6 +541,7 @@ static char *whitelist[] = {
        "tzset",
        "_IO_file_doallocate",
        "selinux_check_access",
+       "on_exit",
        /* ignore dlopen, as we do not dlclose to get proper leak reports */
        "dlopen",
        "dlerror",