
wk at gnupg
Apr 8, 2012, 12:16 PM
Post #2 of 2
(292 views)
Permalink
|
|
Re: grcypt.h should use __alloc_size__ attribute.
[In reply to]
|
|
On Fri, 6 Apr 2012 17:34, fnord.hammer [at] gmail said: > void *gcry_malloc (size_t n) _GCRY_GCC_ATTR_MALLOC > _GCRY_GCC_ATTR_ALLOC_SIZE ((1)); I am not sure whether this is a good idea. The actually allocated object may be larger than something allocated by malloc. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
|