[SSSD] [PATCH] KRB5: Avoid NULL-dereference with empty keytab

Stephen Gallagher sgallagh at redhat.com
Tue May 22 13:30:22 UTC 2012


On Tue, 2012-05-22 at 11:30 +0200, Jakub Hrozek wrote:
> On Mon, May 21, 2012 at 08:38:26PM -0400, Stephen Gallagher wrote:
> > Fixes https://fedorahosted.org/sssd/ticket/1330
> > 
> > Both places in the code that consume this function are properly checking
> > for n_etype_list > 0 before using it.
> 
> Ack, looks good and the clang bug report is gone.

Pushed to master and sssd-1-8 (I also backported the original fix as we
have users complaining about it on 1.8.x).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120522/446465a0/attachment.sig>


More information about the sssd-devel mailing list