linux-stable-rt/arch/cris/arch-v32/drivers
Jesper Nilsson 91a120d03f CRISv32: Fix potential null reference in cryptocop driver.
The code didn't test the pointer to the newly allocated
memory, but a parameter sent in as value.
Since the input parameter was most often set, the code
would have used a null pointer if the kmalloc failed.
If the input parameter was not set, the code would
leak the allocated buffer.

http://bugzilla.kernel.org/show_bug.cgi?id=11363

Reported-by: Daniel Marjamäki <danielm77@spray.se>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2009-06-11 19:09:00 +02:00
..
mach-a3 CRISv32: Fix typo compile error in ARTPEC-3 gpio driver. 2009-04-28 19:08:10 +02:00
mach-fs
pci
Kconfig
Makefile
axisflashmap.c
cryptocop.c CRISv32: Fix potential null reference in cryptocop driver. 2009-06-11 19:09:00 +02:00
i2c.c
i2c.h
iop_fw_load.c
pcf8563.c
sync_serial.c