[11700] in Kerberos-V5-bugs

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

Re: [krbdev.mit.edu #6777] Segmentation fault in krb library

daemon@ATHENA.MIT.EDU (Tom Yu via RT)
Fri Sep 17 14:46:45 2010

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Tom Yu via RT" <rt-comment@krbdev.MIT.EDU>
In-Reply-To: <rt-6777@krbdev.mit.edu>
Message-ID: <rt-6777-33170.7.5236239849071@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #6777'":;"'AdminCc of krbdev.mit.edu Ticket #6777'":;@MIT.EDU
Date: Fri, 17 Sep 2010 14:46:44 -0400 (EDT)
Reply-To: rt-comment@krbdev.MIT.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu

"Greg Hudson via RT" <rt-comment@krbdev.mit.edu> writes:

> [Richard.Krier@globalfoundries.com - Wed Sep 15 14:20:35 2010]:
>> 2. As for krb5_build_principal(), seems the code is set up to return
>>    null ret_princ if the input realm is missing,
>>    think it is working as designed.
>
> There is no code like that in our tree.  krb5_build_principal() should 
> be able to build a principal with an empty realm.  If 
> krb5_build_principal() is failing with an empty realm, we will not 
> understand your issue until you investigate why.

Perhaps strdup() on AIX can return NULL for a zero-length string?  For
that matter, does malloc() on AIX return NULL for a zero argument?

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

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