baiduhook icon indicating copy to clipboard operation
baiduhook copied to clipboard

[HookImpl.cpp]AttachFuncLib函数有可能产生内存泄漏

Open GoogleCodeExporter opened this issue 9 years ago • 0 comments

int HookImpl::AttachFuncLib(const BinaryFile::Symbol &symbol, void *hook_func, 
void **pold_func)

Line 42malloc的内存,如果在Line 48 56 
61条件判断失败跳转的话,都可能产生内存泄漏


Original issue reported on code.google.com by [email protected] on 29 Sep 2013 at 6:26

GoogleCodeExporter avatar Jan 04 '16 11:01 GoogleCodeExporter