]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix SPAKE memory leak 753/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 27 Mar 2018 14:36:05 +0000 (10:36 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 27 Mar 2018 18:56:14 +0000 (14:56 -0400)
commit91dad4eba37b5b56dc21d59880cb6eb4d3e6b7a5
tree99a0be977e4f142c108c1ad3546db1ba2d2da95e
parent5dd2f6877bb88aa57e6650b26daf0864ae732ae8
Fix SPAKE memory leak

In the NIST group implementations, ossl_fini() needs to free the
groupdata container as well as its fields.  Also in
spake_kdc.c:parse_data(), initialize the magic field of the resulting
data object to avoid a harmless uninitialized memory copy.

ticket: 8647
src/plugins/preauth/spake/openssl.c
src/plugins/preauth/spake/spake_kdc.c