Asserts considered harmful (or GMP spills its sensitive information)

Joerg Arndt arndt at jjj.de
Tue Jan 1 10:22:56 UTC 2019


* Vincent Lefevre <vincent at vinc17.net> [Jan 01. 2019 11:11]:
> [...]
> > 
> > Second, the SIGABRT terminates the process and can write a core file.
> 
> That's the default behavior, but you can trap SIGABRT if you want.

>From man 3 abort:
  If the SIGABRT signal is ignored, or caught by a handler that
  returns, the abort() function will still terminate the process.  It
  does this by restoring the default disposition for SIGABRT and then
  raising the signal for a second time.

Best regards,   jj


> 
> [...]


More information about the gmp-bugs mailing list