[Bug malloc/23351] New: Local static disallow_malloc_check is unused?

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jun 29 03:54:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23351

            Bug ID: 23351
           Summary: Local static disallow_malloc_check is unused?
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

In malloc/hooks.c there is a rather complex description of
disallow_malloc_check and the interactions with the now deprecated
malloc_set_state and malloc_get_state functions. However, the comment is wrong
since nothing appears to set disallow_malloc_check.

Should this code be removed or does malloc_set_state need to set it to disallow
checking with a blob memory block?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list