diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-11 15:38:56 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-06-11 15:48:26 +0200 |
commit | f5f7053bcdb5b25b412a87f5853b4a6d94b8abe8 (patch) | |
tree | 93600e3518576ecdae21d75bf223ec29336ca353 /src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c | |
parent | 3873526f3e83f537562859ef1d9326596eaf6609 (diff) | |
download | strongswan-f5f7053bcdb5b25b412a87f5853b4a6d94b8abe8.tar.bz2 strongswan-f5f7053bcdb5b25b412a87f5853b4a6d94b8abe8.tar.xz |
leak-detective: Resolve hooked functions during initialization
If uses of dlopen(), e.g. when loading plugins, produce errors an error
string could get allocated dynamically. At this point realloc() might not
yet be resolved and when dlsym() is later called by leak detective to do
so the error string might get freed while leak detective is disabled and
real_free() will be called with a pointer into one of leak detective's
memory blocks instead of a pointer to the block itself, causing a SIGSEGV.
Diffstat (limited to 'src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c')
0 files changed, 0 insertions, 0 deletions