Files
linux/drivers/scsi
Julia Lawall 1db90ea239 [SCSI] hptiop: Eliminate a NULL pointer dereference
The end of the function is reachable both when host is and is not NULL.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r exists@
expression E,E1;
identifier f;
statement S1,S2,S3;
@@

if ((E == NULL && ...) || ...)
{
  ... when != if (...) S1 else S2
      when != E = E1
* E->f
  ... when any
  return ...;
}
else S3
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-07-27 12:01:01 -05:00
..
…
…
…
…
…
…
…
…
…
…
…
2010-05-02 11:02:17 -04:00
2010-01-18 10:48:08 -06:00
…
…
2010-02-09 11:13:56 +01:00
…
2008-12-28 20:00:03 +01:00
…
2010-05-02 15:55:03 -04:00
…
…
…
…
2010-02-09 11:13:56 +01:00
…
…
2009-12-10 08:54:15 -06:00
2010-05-17 05:27:04 +02:00
…
2009-12-10 08:54:13 -06:00
…
…
…