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/21753] New: malloc: Document assert redefinition and allign with <assert.h>


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

            Bug ID: 21753
           Summary: malloc: Document assert redefinition and allign with
                    <assert.h>
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---

malloc needs to redefine assert because glibc's assert implementation itself
calls asprintf (see bug 10217) which in turn calls malloc.  This should be
explained in a comment.  See bug 10560.

The definition of that assert macro should use the same statement expression
with an if statement as <assert.h>, to catch coding errors within malloc.

-- 
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]