[661] in Kerberos-V5-bugs
Core dump in mk_cmds
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Thu Aug 18 14:41:43 1994
From: epeisach@MIT.EDU
Date: Thu, 18 Aug 1994 14:41:35 -0400
To: krb5-bugs@MIT.EDU
Platform: DEC Alpha running OSFv1.3
Problem: core dumps in build when mk_cmds is run.
Cause: in util/ss/ct.y calls to strdup as used. No header file is
included which defines strdup. The C compiler assumes that strdup
returns an int (32 bits) and not a char* (64 bit) and on calling quote
(around line 72), gives an improper address.
Patch:
*** 1.1 1994/08/18 18:25:51
--- util/ss/ct.y 1994/08/18 18:29:37
***************
*** 5,10 ****
--- 5,11 ----
* For copyright info, see mit-sipb-copyright.h.
*/
#include <stdio.h>
+ #include <string.h>
#include "mit-sipb-copyright.h"
char *str_concat3(), *generate_rqte(), *quote();