[99] in Kerberos-V5-bugs

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

re: qbuf2krb5_data

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Jan 8 14:13:58 1991

Date: Tue, 8 Jan 91 14:11:02 -0500
From: John T Kohl <jtkohl@MIT.EDU>
To: pau@ibm.com
Cc: krb5-testers@MIT.EDU
In-Reply-To: [97]

>The routine qbuf2krb5_data (lib/asn.1/qbuf2data.c) examines only one
>qbuf. Should it call "qb_pullup" (isode psap lib routine) to examine
>the entire linked list ?

It already does:

krb5_data *
qbuf2krb5_data(val, error)
const struct qbuf *val;
register int *error;
{
    krb5_data *retval;
    if (qb_pullup(val) != OK) {
	^^^^^^^^^^^^^^^^^^^^
    nomem:
	*error = ENOMEM;
	return(0);
    }

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