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

Dan Searle dan.searle at censornet.com
Thu Apr 8 15:04:39 EDT 2010


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 at 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 at 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.




More information about the krbdev mailing list