[SSSD] [PATCH] Prevent segfault if vetoed_shells are specified without allowed_shells

Stephen Gallagher sgallagh at redhat.com
Mon Aug 8 14:27:34 UTC 2011


On Mon, 2011-08-08 at 08:45 -0400, Stephen Gallagher wrote:
> On Mon, 2011-08-08 at 14:43 +0200, Jakub Hrozek wrote:
> > On Mon, Aug 08, 2011 at 06:02:45AM -0400, Alexander Bokovoy wrote:
> > > Hi,
> > > 
> > > seems OK but could you also add similar treatment for etc_shells? There are few rare cases when out of memory situations could make nctx->etc_shells NULL.
> > > 
> > 
> > We handle OOM when loading the etc_shells array but more checks never
> > hurt, I guess.
> 
> Ack.

Pushed to master, sssd-1-6 and sssd-1-5.
-------------- 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/20110808/61c19db7/attachment.sig>


More information about the sssd-devel mailing list