[28936] in Kerberos
Re: pam-krb5 3.9 released (patch for AIX NAS library)
daemon@ATHENA.MIT.EDU (Russ Allbery)
Tue Dec 25 15:31:27 2007
To: kerberos@mit.edu
In-Reply-To: <fkroe6$63c$1@ger.gmane.org> (Markus Moeller's message of "Tue\,
25 Dec 2007 20\:15\:45 -0000")
From: Russ Allbery <rra@stanford.edu>
Date: Tue, 25 Dec 2007 12:30:33 -0800
Message-ID: <87myryy0t2.fsf@windlord.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
"Markus Moeller" <huaraz@moeller.plus.com> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:
>>> const char *KRB5_CALLCONV error_message(long code) {
>>> char *msg=NULL;
>>> krb5_svc_get_msg(code,&msg);
>>> return msg;
>>> }
>> Ah. I think that part of your diff might not have been included. It
> Line 240 in the patch should have it.
Yeah, found it. Does krb5_svc_get_msg allocate new memory that then has
to be freed, or does it just set msg to a pointer to static space
somewhere? (If there's a krb5_svc_free_msg function, that would answer
this question.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos