[gnutls-devel] Use of uninitialized data in gnutls_pubkey_deinit ?

Jaak Ristioja jaak.ristioja at cyber.ee
Wed Feb 20 16:40:15 CET 2013


Hi!

Please note that in lib/gnutls_pubkey.c in the definition of function
gnutls_pubkey_init the "params" field of struct gnutls_pubkey_st is not
explicitly initialized, but this field is used in gnutls_pubkey_deinit.
Does the call to gnutls_calloc in gnutls_pubkey_init return a pointer to
memory already initialized to zeroes?

Best regards,
Jaak



More information about the Gnutls-devel mailing list