Re: [PATCH] vfs: Fix possible NULL pointer dereference ininode_permission()

From: Steven Rostedt
Date: Thu Jan 09 2014 - 18:46:07 EST


On Thu, 09 Jan 2014 18:37:06 -0500
Eric Paris <eparis@xxxxxxxxxx> wrote:


> > Oh wait, you said not to clear the member. Thus, the patch would look
> > like this:
> >
> > Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> SMACK also needs this change somehow in smack_inode_free_security()
>
> but at least from an SELinux PoV, I think it's quick and easy, but wrong
> for maintainability...

I agree, but for this late in the -rc window, this may be the best
thing for now. We can think of a better solution for the future.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/