]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix double free in kdc hammer
authorRobbie Harwood <rharwood@redhat.com>
Tue, 3 Oct 2017 19:01:55 +0000 (15:01 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 22 Jun 2018 01:46:24 +0000 (21:46 -0400)
commit6c8b6039e67f63b5c657cb0563ae32ea7f00d083
tree4789fd59f606ba0023230422d3e45d8eb9506927
parent09c9b7d6f64767429e90ad11a529e6ffa9538043
Fix double free in kdc hammer

If kdc5_hammer.c:krb5_string_to_key() fails, we didn't NULL out key
before returning it, leading to potential double-free.
src/tests/hammer/kdc5_hammer.c