small bug in 1.2.0

Werner Koch wk at gnupg.org
Mon Oct 28 18:35:01 CET 2002


On Mon, 28 Oct 2002 12:54:07 +0100, 5468696A6D656E  said:

> I found a small bug in the 1.2.0 sources, didn't check the 1.2.1 sources though
> due to lack of time.
> line 106 of file util/w32reg.c reads:
> tmp = malloc (n1 + 1);

> this should be:
> n1 = nbytes;
> tmp = malloc (n1 + 1);

Thanks. It is also in 1.2.1. 1000 bytes for an environment
buffer should in general be sufficient, so we don't need a bug fix
release now.

Thanks.

  Werner





More information about the Gnupg-devel mailing list