alistair23-linux/drivers/scsi/aacraid
Julia Lawall 8a52da632c [SCSI] aacraid: Eliminate use after free
The debugging code using the freed structure is moved before the kfree.

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

// <smpl>
@free@
expression E;
position p;
@@
kfree@p(E)

@@
expression free.E, subE<=free.E, E1;
position free.p;
@@

  kfree@p(E)
  ...
(
  subE = E1
|
* E
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-25 10:59:07 -05:00
..
aachba.c [SCSI] aacraid: prohibit access to array container space 2010-05-16 22:49:46 -04:00
aacraid.h [SCSI] aacraid: add an ifdef'd device delete case instead of taking the device offline 2010-05-16 22:58:27 -04:00
commctrl.c [SCSI] aacraid: Eliminate use after free 2010-05-25 10:59:07 -05:00
comminit.c
commsup.c [SCSI] aacraid: add an ifdef'd device delete case instead of taking the device offline 2010-05-16 22:58:27 -04:00
dpcsup.c
linit.c
Makefile
nark.c
rkt.c
rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sa.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
TODO