This is the mail archive of the libc-alpha@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]

Re: Do we care about malloc failure in tests?


On Tue, Jun 7, 2016 at 9:44 AM, Florian Weimer <fweimer@redhat.com> wrote:

> Perhaps also include the request allocation size as well.

Something like attached?
I am a little worried about multiplication overflow in xcalloc, but I
guess this overflow shouldn't really happen in tests, and if it does
happen the error report will be only a little bit wrong.

Thanks,
-- 
Paul Pluzhnikov

Attachment: glibc-xmalloc-test-20160607a.txt
Description: Text document


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