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

Stephen Gallagher sgallagh at redhat.com
Mon Aug 8 12:45:54 UTC 2011


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.
-------------- 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/e35a2a82/attachment.sig>


More information about the sssd-devel mailing list