mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
(mprobe): Call checkhdr with adjusted pointer.
This commit is contained in:
parent
bbbaf0b38d
commit
e3e89f6774
@ -212,7 +212,7 @@ mcheck (func)
|
||||
abortfunc = (func != NULL) ? func : &mabort;
|
||||
|
||||
/* These hooks may not be safely inserted if malloc is already in use. */
|
||||
if (!__malloc_initialized <= 0 && !mcheck_used)
|
||||
if (__malloc_initialized <= 0 && !mcheck_used)
|
||||
{
|
||||
old_free_hook = __free_hook;
|
||||
__free_hook = freehook;
|
||||
|
Loading…
x
Reference in New Issue
Block a user