undefined references since newlib-3.2.0

Jeffrey Walton noloader@gmail.com
Sat Jun 13 10:31:26 GMT 2020


On Fri, Jun 12, 2020 at 6:51 PM Josef Wolf <jw@raven.inka.de> wrote:
>
> On Fri, Jun 12, 2020 at 10:21:11AM +0200, Josef Wolf wrote:
>
> > To be honest, I completely fail to understand how this commit
> > https://sourceware.org/git?p=newlib-cygwin.git;a=commit;h=f88aece242178ff0c187d56e34a79645fbc44a23
> > can possibly cause those link failures. After all,
> > f88aece242178ff0c187d56e34a79645fbc44a23 shows no traces of abort/exit/kill/getpid.
>
> This patch replaces Balloc() by eBalloc() which calls __assert_func() on
> failure which in turn calls exit() and/or abort()

Please don't call abort(3).

My programs usually handle sensitive information. I need destructors
to run to ensure sensitive information is wiped. This is a compliance
item.

I also need to ensure sensitive information does not escape from the
application's security boundary. For example, the sensitive
information should not be written to the file system by way of a core
file; and it should not be egressed to an error reporting service for
the platform provider or application developer to inspect.

Jeff


More information about the Newlib mailing list