genprime

Werner Koch wk@gnupg.org
Fri, 31 Dec 1999 07:07:38 +0100


 On Fri, Dec 31, 1999 at 12:11:29AM +0100
 Two-a-Day wrote:


> gpg --gen-prime 1 10000
>
> gpg: Ohhhh jeeee: ... this is a bug (random.c:274:read_pool)
> secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384
> Aborted
>
> it seems to be a buffer overflow, isn't it?
No it isn't - ... this is a bug - see cipher/random.c line 274 function read_pool. It is listed somewhere in the TODO files that it has to be replaced by a more friendly error message. -- Werner Koch at guug.de www.gnupg.org keyid 621CC013 Boycott Amazon! - http://www.gnu.org/philosophy/amazon.html