[sudo-users] Debugging a sudo segmentation fault

Todd C. Miller Todd.Miller at courtesan.com
Sat Oct 31 09:31:53 EDT 2009


Are you using MIT Kerberos of Heimdal?  My guess is MIT.
See if this makes any difference.

 - todd

Index: auth/kerb5.c
===================================================================
RCS file: /home/cvs/courtesan/sudo/auth/kerb5.c,v
retrieving revision 1.36
diff -u -p -u -r1.36 kerb5.c
--- auth/kerb5.c	9 Nov 2008 14:13:13 -0000	1.36
+++ auth/kerb5.c	31 Oct 2009 13:31:27 -0000
@@ -81,6 +81,7 @@ krb5_get_init_creds_opt_alloc(context, o
     krb5_get_init_creds_opt   **opts;
 {
     *opts = emalloc(sizeof(krb5_get_init_creds_opt));
+    krb5_get_init_creds_opt_init(*opts);
     return 0;
 }
 



More information about the sudo-users mailing list