[425] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

krb5_data2qbuf

jon@ATHENA.MIT.EDU (jon@ATHENA.MIT.EDU)
Mon Nov 12 22:19:59 1990

I've got a question about isode qbufs.

If I call krb5_data2qbuf(krb5_princ_realm(kdbe->principal)) I get back
the following.  Note that qb_data is null.  If I look at qb_forw (or
qb_back) the're right. 

Am I looking at this wrong or is there a bug in str2qb?  (I find that
hard to believe).

 *krb5_data2qbuf(krb5_princ_realm(kdbe->principal));
(struct qbuf) =
{
 struct qbuf *qb_forw = 0x1cb3a0 /* (allocated) */;
 struct qbuf *qb_back = 0x1cb3a0 /* (allocated) */;
 int qb_len = 14;
 char *qb_data = 0x0;
 char qb_base[1] = 0x1a82b0 "\x0bf" /* unset value */;
}
(break 1) 167 -> *krb5_data2qbuf(krb5_princ_realm(kdbe->principal))->qb_forw;
(struct qbuf) =
{
 struct qbuf *qb_forw = 0x1a82a0 /* (allocated) */;
 struct qbuf *qb_back = 0x1a82a0 /* (allocated) */;
 int qb_len = 14;
 char *qb_data = 0x1cb230 "ATHENA.MIT.EDU" /* unset value */;
 char qb_base[1] = 0x1a8270 "A" /* unterminated string */;
}


home help back first fref pref prev next nref lref last post