[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trouble with redhat6.0
kerberos mailing <kerberos@lom.camcom.it> writes:
> i conpiled the heimdal 01.f without error ,
> but when a start kadmin -l for init of the domain
> a receive the error "unable to parse strncmp" .
My mistake on not initializing some variables. Try the appended
patch.
/assar
Index: kadmin/init.c
===================================================================
RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/heimdal/kadmin/init.c,v
retrieving revision 1.17
diff -u -w -u -w -r1.17 init.c
--- init.c 1999/05/04 18:40:57 1.17
+++ init.c 1999/05/11 12:04:36
@@ -104,8 +104,8 @@
{
kadm5_ret_t ret;
int i;
- char *realm_max_life;
- char *realm_max_rlife;
+ char *realm_max_life = NULL;
+ char *realm_max_rlife = NULL;
HDB *db;
int optind = 0;
unsigned max_life, max_rlife;