Patch for Balloc accesses
Jeff Johnston <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84tTpC5gLWyXC_dYNua-bdW-j-2sVMzkyCi=4HqS3stt6Q@mail.gmail.com> |
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.