[1021] in Kerberos-V5-bugs
kadmin_mod doesn't free msg_data
daemon@ATHENA.MIT.EDU (Jim Miller)
Mon Jan 2 19:40:08 1995
From: jim@bilbo.suite.com (Jim Miller)
Date: Mon, 2 Jan 95 18:38:49 -0600
To: krb5-bugs@MIT.EDU
Reply-To: Jim_Miller@suite.com
This bug report is for KRB5, beta 4, patchlevel 3.
The function "kadm_mod_user" doesn't free the buffer "msg_data.data" if
the first call to "krb5_write_message" fails. Not a biggie.
Solution:
Put the following line in the obvious place...
free(msg_data.data);
Jim_Miller@suite.com