Re: [PATCH] firmware: Fix dereferencing NULL pointer of fw_priv->buf->fw_id

From: Steven Rostedt
Date: Sun Jul 12 2015 - 17:00:51 EST


On Sun, 12 Jul 2015 13:50:19 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Sun, Jul 12, 2015 at 11:49 AM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > Unfortunately, this caused the following BUG:
>
> I'm hoping you didn't waste too much time on this.

Well, not that much. I was able to automate the bisects. But it did
cause me to waste time in my own testing, which needs to be restarted
because this bug caused my tests to fail.

>
> Because check commit 6f957724b94c, which fixes the NULL pointer
> dereference _and_ the lack of proper locking.
>

Thanks, I'll take note.

-- 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/