]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix memory leak in SPAKE kdcpreauth module
authorsashan <anedvedicky@gmail.com>
Thu, 26 May 2022 06:51:10 +0000 (08:51 +0200)
committerGreg Hudson <ghudson@mit.edu>
Fri, 4 Nov 2022 16:25:58 +0000 (12:25 -0400)
commita7a99db31c532c5616814853354a048fc865df06
tree6d7a94cadbec08080d2194c199cbb079ab96ff40
parent0d52c072a57ae5ddd98090e8a1f6ce0a61efe5d6
Fix memory leak in SPAKE kdcpreauth module

Commit ff57dc682a27bd205d715f3c0bed84890f2453c4 introduced a memory
leak into verify_response().  reply_key is no longer passed to the
callback and therefore needs to be freed by this function.

[ghudson@mit.edu: rewrote commit message]

(cherry picked from commit 445e1b32767af3041ffd1823996d05ffec6fc9d5)

ticket: 9061
version_fixed: 1.20.1
src/plugins/preauth/spake/spake_kdc.c