This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Patch for Balloc accesses
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Newlib <newlib at sourceware dot org>
- Date: Fri, 4 Oct 2019 18:09:08 -0400
- Subject: Patch for Balloc accesses
I have just checked in a patch to handle newlib code that uses Balloc and
was expecting the result to be non-null. The function returns NULL when
out of memory and the old code now aborts with a message as opposed to
causing an invalid access exception.
Regards,
-- Jeff J.