aha/arch/cris/arch-v32
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
..
drivers CRISv32: Fix potential null reference in cryptocop driver. 2009-06-11 19:09:00 +02:00
kernel CRIS: Wire up syscalls signalfd4 to writev. 2009-04-28 17:53:35 +02:00
lib CRISv32: Add arch optimized strcmp. 2009-06-10 15:21:03 +02:00
mach-a3 [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mach-fs trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
mm cpumask: use mm_cpumask() wrapper: cris 2009-03-16 14:11:47 +10:30
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
output_arch.ld