grcypt.h should use __alloc_size__ attribute.

Werner Koch wk at
Sun Apr 8 21:16:36 CEST 2012

On Fri,  6 Apr 2012 17:34, fnord.hammer at said:

> void *gcry_malloc (size_t n) _GCRY_GCC_ATTR_MALLOC

I am not sure whether this is a good idea.  The actually allocated
object may be larger than something allocated by malloc.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gcrypt-devel mailing list