kernel-fxtec-pro1x/arch/arm/common
Julia Lawall f2d2420bbf SA1111: Eliminate use after free
__sa1111_remove always frees its argument, so the subsequent reference to
sachip->saved_state represents a use after free.  __sa1111_remove does not
appear to use the saved_state field, so the patch simply frees it first.

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

// <smpl>
@@
expression E,E2;
@@

__sa1111_remove(E)
...
(
  E = E2
|
* E
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-07-30 23:19:30 +01:00
..
clkdev.c Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
dmabounce.c Merge branches 'at91', 'cache', 'cup', 'ep93xx', 'ixp4xx', 'nuc', 'pending-dma-streaming', 'u300' and 'umc' into devel 2010-02-25 22:06:43 +00:00
gic.c [ARM] 5556/1: Fix the irq_desc.cpu references 2009-06-19 15:11:16 +01:00
icst.c ARM: ICST: kill duplicate icst code 2010-05-02 09:35:33 +01:00
it8152.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
Kconfig Merge branches 'at91', 'bcmring', 'ep93xx', 'iop', 'misc', 'nomadik', 'omap', 'pxa', 'spear' and 'versatile' into devel 2010-05-17 11:53:39 +01:00
locomo.c [ARM] locomo: fix unpaired spin_lock_irqsave 2010-03-22 12:03:09 +08:00
Makefile Merge branches 'at91', 'bcmring', 'ep93xx', 'iop', 'misc', 'nomadik', 'omap', 'pxa', 'spear' and 'versatile' into devel 2010-05-17 11:53:39 +01:00
pl330.c ARM: 6132/1: PL330: Add common core driver 2010-05-15 15:03:50 +01:00
sa1111.c SA1111: Eliminate use after free 2010-07-30 23:19:30 +01:00
scoop.c [ARM] pxa: enable check_scoop_reg() only if CONFIG_PM is set. 2010-03-02 07:40:52 +08:00
sharpsl_param.c [ARM] 4733/1: export sharpsl_param 2008-10-03 10:18:35 +01:00
time-acorn.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
uengine.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
via82c505.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
vic.c ARM: 6025/1: vic: factor out common init code 2010-04-14 11:19:23 +01:00