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

From: Linus Torvalds
Date: Sun Jul 12 2015 - 16:53:09 EST


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.

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

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