diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-06-29 18:52:22 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-06-29 19:05:16 +0200 |
commit | 338536364246d1e40b4d9f039c106d83594db724 (patch) | |
tree | bf79d675611ee0bd71e02adc08850701912549e7 /AUTHORS | |
parent | 47f25d9e08d4e102572804a2aed186b01db23c65 (diff) | |
download | gnutls-338536364246d1e40b4d9f039c106d83594db724.tar.gz |
pkcs11_get_attribute_avalue: do not assign values on failure
When C_GetAttributeValue() returns size but does not return data
then pkcs11_get_attribute_avalue() would set the return data pointer
to a free'd value. This is against the convention expected by callers,
i.e, set data to NULL. Reported by Anthony Alba in #108.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions