Re: undefined references since newlib-3.2.0

Jeffrey Walton via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAH8yC8mYzHe4u9xBa69xgtRph2kp9w6mCRO6ukNFeXtMw-m9mg@mail.gmail.com>
On Fri, Jun 12, 2020 at 6:51 PM Josef Wolf <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.