Displaying 1 result from an estimated 1 matches for "krb5_gss_register_acceptor_identity".
2008 Sep 03
1
Dovecot 1.1.3 Kerberos5 GSSAPI bug (with patch)
...quent reads. Here is debugger output
illustrating the problem:
(gdb) list 106
101 const char *path;
102
103 path = getenv("KRB5_KTNAME");
104 if (path != NULL) {
105 #ifdef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
106 gsskrb5_register_acceptor_identity(path);
107 #elif defined (HAVE_KRB5_GSS_REGISTER_ACCEPTOR_IDENTITY)
108 krb5_gss_register_acceptor_identity(path);
109 #endif
110 }
(gdb) p/x getenv("KRB5_KTNAME")
$32 = 0xb0d7aef7
(gdb) x/s 0xb0d7aef7
0xb0d7aef7: <Address 0xb0d7aef7 out of bounds>
(gdb) x/s 0x7fffb0d7aef7
0x7fffb0d7aef7: "/etc/dovecot/dovecot.keytab"
A Mercurial bu...