[15657] in Kerberos_V5_Development

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

Re: Strange segmentation fault in libkrb5.so.3.3 (1.6.4-beta1)

daemon@ATHENA.MIT.EDU (Dan Searle)
Thu Apr 8 15:04:58 2010

Message-ID: <4BBE28C7.7040309@censornet.com>
Date: Thu, 08 Apr 2010 20:04:39 +0100
From: Dan Searle <dan.searle@censornet.com>
MIME-Version: 1.0
To: Tom Yu <tlyu@mit.edu>
In-Reply-To: <ldvpr2arm50.fsf@cathode-dark-space.mit.edu>
Cc: Russ Allbery <rra@stanford.edu>, "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

You are more than likely to be correct, however as the error messages 
are ireallavent to our application I've simple stemmed the problem at 
the bottom level as per my suggested patch.

Tom Yu wrote:
> Dan Searle <dan.searle@censornet.com> writes:
>
>   
>> Hi,
>>
>> Just a heads up, to work around the issue, I had to change:
>>
>> kerrs.c:87:
>>
>>     return krb5int_get_error (&ctx->err, code);
>>
>> ...to...
>>
>>     return NULL;
>>     
>
> I'd have to check, but I think you may want to make that change
> farther up the call stack, like whatever is calling
> krb5_get_error_message() may be passing an invalid context pointer.
> The change you made above looks like it might completely disable the
> functionality of krb5_get_error_message().
> _______________________________________________
> krbdev mailing list             krbdev@mit.edu
> https://mailman.mit.edu/mailman/listinfo/krbdev
>
>   


------------------------------------------------------------------------------------
Scanned for viruses, spam and offensive content by CensorNet MailSafe

Try CensorNet free for 14 days. Provide Internet access on your terms.
Visit www.censornet.com for more information.

_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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