linux_dsm_epyc7002/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 [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
pci [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
axisflashmap.c CRIS v32: Update and improve axisflashmap 2008-02-08 11:06:25 +01:00
cryptocop.c CRISv32: Fix potential null reference in cryptocop driver. 2009-06-11 19:09:00 +02:00
i2c.c Add a bunch of cycle_kernel_lock() calls 2008-06-20 14:05:53 -06:00
i2c.h CRIS v32: New version of I2C driver. 2008-02-08 11:06:25 +01:00
iop_fw_load.c chris: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:42 -08:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Makefile CRIS v32: Remove common gpio and nandflash, add mach-fs and mach-a3 as subdirs. 2008-02-08 11:06:26 +01:00
pcf8563.c cris: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
sync_serial.c cris: cdev lock_kernel() pushdown 2008-05-18 15:43:40 -06:00