original_kernel/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
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