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 regex/751] regecomp can fail with interposed malloc which returns NULL for malloc (0)


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

eggert at cs dot ucla.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eggert at cs dot ucla.edu

--- Comment #7 from eggert at cs dot ucla.edu ---
(In reply to Adhemerval Zanella from comment #6)
> *** Bug 16851 has been marked as a duplicate of this bug. ***

Following up on this marking of duplication: in bug 16851 Nathan Kennedy
proposed a simple patch for this issue, and I just now commented there that
this is a more general issue that is perhaps best addressed by documenting that
an interposed malloc (0) must return nonnull on success.

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