This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/20432] New: malloc: Minimize interface required for interposition


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

            Bug ID: 20432
           Summary: malloc: Minimize interface required for interposition
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
        Depends on: 17730, 19469
            Blocks: 20424
  Target Milestone: ---

This is an umbrella bug for fixing the remaining issues which prevent simple
use of a statically linked external malloc.

In particular, malloc tests break due to the use of mallopt (bug 19469), and
the dynamic linker uses __libc_memalign (bug 17730, also used when not actually
using dlopen).

I have an interposed malloc test which should help us to uncover most of these
issues.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=17730
[Bug 17730] thread-local storage is sometimes improperly free()'d after being
__libc_memalign()'d
https://sourceware.org/bugzilla/show_bug.cgi?id=19469
[Bug 19469] M_PERTURB in test-skeleton.c invalidates malloc tests
https://sourceware.org/bugzilla/show_bug.cgi?id=20424
[Bug 20424] Document how to provide a malloc replacement
-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]