lkml.org 
[lkml]   [2013]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][trivial] pcmcia: avoid static analysis complaint about use-after-free
On Sun, 20 Jan 2013, Jesper Juhl wrote:

> Coverity complains about a use after free for 'res1' and 'res2' since
> we use the value of the pointers in a 'dev_dbg()' after they have been
> freed. That's not really a problem, but it still seems cleaner to
> defer freeing until we are completely done with the pointers.

Makes sense. I am taking this one.

Thanks,

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2013-01-21 00:41    [W:0.267 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site