aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_libipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-27 18:04:39 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-29 11:09:38 +0200
commit505c318701620531f579d074634b1a4607efd684 (patch)
treec4e2717c64c04c821ddab03a8de57fd1485171df /src/libcharon/plugins/kernel_libipsec
parentc1410cb045169c47c59459673219f2e7d878c22c (diff)
downloadstrongswan-505c31870162.tar.bz2
strongswan-505c31870162.tar.xz
leak-detective: Try to properly free allocations after deinitialization
If a function we whitelist allocates memory while leak detective is enabled but only frees it after LD has already been disabled, free() will get called with invalid pointers (not pointing to the actually allocated memory by LD), which will cause checks in the C library to fail and the program to crash. This tries to detect such cases and calling free with the correct pointer.
Diffstat (limited to 'src/libcharon/plugins/kernel_libipsec')
0 files changed, 0 insertions, 0 deletions