secmem_realloc bug fix

Werner Koch wk at
Thu Aug 31 11:07:28 CEST 2000

On Wed, 30 Aug 2000, Matt Kraai wrote:

> The code for secmem_realloc calls secmem_malloc but does not ensure that
> the result isn't NULL.  The attached patch (against CVS) adds the check.

> If I wrote code so that secmem_malloc could split blocks, secmem_realloc
> could shrink them, and secmem_free could merge them, would you consider
> including it?

Yes.  However I need legal papers - either an copyright assignment or a
disclaimer from you and probablu from your university.  Please contact
me by private mail in case that you want to do so.

Werner Koch				GnuPG key:  621CC013
OpenIT GmbH                   

More information about the Gnupg-devel mailing list