[463] in Kerberos-V5-bugs
Re: duplicate free()'s and use of memory after free in do_as_req.c
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Thu Apr 21 14:42:31 1994
Date: Thu, 21 Apr 94 14:42:21 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: David Parter <dparter@cs.wisc.edu>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: David Parter's message of Thu, 07 Apr 1994 12:46:25 -0500,
<9404071746.AA11179@venom.cs.wisc.edu>
Date: Thu, 07 Apr 1994 12:46:25 -0500
From: David Parter <dparter@cs.wisc.edu>
Hi. I am new to this kerberos stuff.... I hope I am working with the
latest soruces and reporting this to the correct place.
Yes, you are, and thanks for the bug report!
Is it safe to move the cleanup from line 517 to where the two free's are,
and get rid of them?
Yup, it's safe. I'll be fixing it another way, be completely reworking
the memory deallocation strategy in do_as_req.c, so that it's cleaner,
but your proposed fix will indeed work.
- Ted