[krbdev.mit.edu #1203] kinit -k -t segfaults

hgm@lanl.gov via RT rt-comment at krbdev.mit.edu
Fri Oct 4 11:17:09 EDT 2002


On Thu, 3 Oct 2002 23:27:24 -0400 (EDT)  "Sam Hartman via RT" wrote:
> Do you believe that patch actually should solve the problem?  If so,
> why/how?
> 
> 

BTW:

With regard to my previous reply to this question, what put
me on to the patch that seems to fix it for us was that a gdb
on the core file that results without the patch shows the segfault
in free(). It segfaults on libc5 linux platforms.

The comment in the patch names the routine where the structure that's
freed is delcared as a local variable. It seems that freeing local
variables is asking for trouble.

  Harry



More information about the krb5-bugs mailing list