GPGME and custom memory allocators

Ben Kibbey bjk at
Wed Oct 22 00:08:00 CEST 2014

On Tue, Oct 21, 2014 at 11:55:30PM +0200, lists-gnupgdev at wrote:
> Am Tue, 21 Oct 2014 17:40:50 -0400
> schrieb Ben Kibbey <bjk at>:
> > It's also useful for memory allocation tracking and leak detection and
> > zero'ing before free().
> And for sabotaging system level safeguards :) (see OpenSSL) 

Well, at least there's the option. Both libassuan and libgcrypt provide
this feature and I have used it with both without problems. I'm not sure
why it isn't included in gpgme.

Ben Kibbey

More information about the Gnupg-devel mailing list