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 [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
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 [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
linit.c [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
Makefile
nark.c
rkt.c [SCSI] Clean up my email address and use a single standard address for everything 2008-12-29 11:24:12 -06:00
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