forked from luck/tmp_suning_uos_patched
91a120d03f
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> |
||
---|---|---|
.. | ||
mach-a3 | ||
mach-fs | ||
pci | ||
axisflashmap.c | ||
cryptocop.c | ||
i2c.c | ||
i2c.h | ||
iop_fw_load.c | ||
Kconfig | ||
Makefile | ||
pcf8563.c | ||
sync_serial.c |