On Fri, Dec 07, 2018 at 11:17:01AM -0800, Joel Fernandes wrote:
> On Mon, Dec 03, 2018 at 01:38:13PM +0300, Dan Carpenter wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git 
> > pstore/devel
> > head:   aecdcab650b4bff74a53231bae142bbe1ef9a711
> > commit: f61723302fec4ba94d1a402dfb0ec092b1ff029b [11/13] pstore/ram: 
> > Simplify ramoops_get_next_prz() arguments
> > 
> > smatch warnings:
> > fs/pstore/ram.c:340 ramoops_pstore_read() error: we previously assumed 
> > 'prz' could be null (see line 255)
> 
> Is this a false positive? I don't see the issue.
> 

It's a real bug.  We need to set "prz = tmp_prz" at the same time we
set free_prz = true.  Kees already sent a patch for it.

(These are Intel's zero day bug reports.  For zero day stuff, I
never write patches.  I just review the auto generated emails and
forward them on).

regards,
dan carpenter

_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to