[Dovecot] Patch to src/auth/mech-gssapi.c

James F. Hranicky jfh at cise.ufl.edu
Wed Mar 1 21:24:56 EET 2006


This bug causes a segfault when compiled against heimdal, but not
MIT krb5. Either way, I think this code is correct.

HTH.

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314D CSE Building                            Phone (352) 392-1499 |
| jfh at cise.ufl.edu                      http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------

--- src/auth/mech-gssapi.c.orig 2006-03-01 14:21:40.000000000 -0500
+++ src/auth/mech-gssapi.c      2006-03-01 14:18:58.000000000 -0500
@@ -138,7 +138,7 @@
                return major_status;
        }

-       gss_release_name(&minor_status, gss_principal);
+       gss_release_name(&minor_status, &gss_principal);

        return major_status;
 }


More information about the dovecot mailing list