[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ipropd-master in heimdal-20040426




Alf Wachsmann <alfw@SLAC.Stanford.EDU> writes:

> Has anyone else seen this behavior?

It seems I stored the operation on the wrong end of the data-blob when I
converted the code.

Love

Index: ipropd_master.c
===================================================================
RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/heimdal/lib/kadm5/ipropd_master.c,v
retrieving revision 1.34
diff -u -u -w -r1.34 ipropd_master.c
--- ipropd_master.c	23 Nov 2003 06:21:43 -0000	1.34
+++ ipropd_master.c	8 May 2004 11:25:17 -0000
@@ -282,7 +282,6 @@
 	krb5_data_free (&data);
 	return ENOMEM;
     }
-    krb5_storage_seek(sp, data.length - 4, SEEK_SET);
     krb5_store_int32(sp, ONE_PRINC);
     krb5_storage_free(sp);
 

PGP signature