Looks like src/aklog/klog.c has uninitialized variable "tofree" introduced
with AFS_RXK5.   klog.c:727 tries to free it.

This might affect other systems as well, not just Solaris.

See patch against 1.4.10


Douglas E. Engert wrote:


Derrick Brashear wrote:
On Wed, Jun 3, 2009 at 3:34 PM, Sean O'Malley <[email protected]> wrote:
I assume this is a known issue. but is this fixed 1.5 series?

I tried compiling 1.4.10 on solaris 10/sparc with the krb5 flags built
against the solaris krb5 (not MIT or heimdal), with the sun compiler.

It seemed to compile ok, but i tried klog and it core dumped after it
authenticated.

klog, or klog.krb5? klog has nothing to do with krb5.

Both the 1.4.8 and 1.4.10 klog.krb5 get a segfault after authenticating.
Looking at it now.

klog to a kaserver works.



not known, no.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel




--

 Douglas E. Engert  <[email protected]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
--- ,klog.c     Wed Jun  3 15:44:06 2009
+++ klog.c      Wed Jun  3 15:44:57 2009
@@ -356,7 +356,7 @@
     krb5_creds incred[1], mcred[1], *outcred = 0, *afscred;
     krb5_ccache cc = 0;
     krb5_get_init_creds_opt gic_opts[1];
-    char *tofree, *outname;
+    char *tofree = NULL, *outname;
     int code;
     char *what;
     int i, dosetpag, evil, noprdb, id;

Reply via email to