Re: [SSSD] [PATCH] Possible null dereference in SELinux code

2014-04-04 Thread Jakub Hrozek
On Fri, Apr 04, 2014 at 02:50:15PM +0200, Lukas Slebodnik wrote: > patch fixed warning > > ACK > > LS Pushed to master and sssd-1-11 ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-deve

Re: [SSSD] [PATCH] Possible null dereference in SELinux code

2014-04-04 Thread Lukas Slebodnik
On (04/04/14 14:28), Michal Židek wrote: >Reported by Clang. > >This is probably false positive, because if state->nmaps is 0 >in ipa_get_selinux_recv() then state->selinuxmaps will >probaly always be NULL, so this patch just ensures it will >always be the case. > >Patch is attached. > >Michal >Fr

[SSSD] [PATCH] Possible null dereference in SELinux code

2014-04-04 Thread Michal Židek
Reported by Clang. This is probably false positive, because if state->nmaps is 0 in ipa_get_selinux_recv() then state->selinuxmaps will probaly always be NULL, so this patch just ensures it will always be the case. Patch is attached. Michal >From 16287c64308e94a24c6ace9358fb501b393ad77a Mon Sep