Bug#412408: Is invoking exit(2) in a library the right thing to do?

Florian Weimer fw at deneb.enyo.de
Sun Nov 18 12:10:04 CET 2007


* Werner Koch:

> On Thu, 15 Nov 2007 13:19, trs80 at ucc.gu.uwa.edu.au said:
>
>> M null          c   1 3
>> which creates /dev/null, but does not contain a line to create 
>> /dev/random. It also contains the comment:
>
> So the fix should be pretty easy:
>
> M random   c  1 8
> M urandom  c  1 9

Indeed.  And you should call abort() instead of exit() in the library.



More information about the Gcrypt-devel mailing list