linux-next/drivers/mailbox
Sudeep Holla 9ef3c51121 mailbox: mailbox-test: set tdev->signal to NULL after freeing
tdev->signal is not set NULL after it's freed. This will cause random
exceptions when the stale pointer is accessed after tdev->signal is
freed. Also, since tdev->signal allocation is skipped the next time
it's written, this leads to continuous fault finally leading to the
total death of the system.

Fixes: d1c2f87c9a ("mailbox: mailbox-test: Prevent memory leak")
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2016-06-12 15:13:04 +05:30
..
arm_mhu.c Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2015-09-05 18:11:04 -07:00
bcm2835-mailbox.c mailbox: Drop owner assignment from platform_driver 2015-08-05 17:20:53 +05:30
hi6220-mailbox.c mailbox: Hi6220: add mailbox driver 2016-03-04 12:32:20 +05:30
Kconfig mailbox: Introduce TI message manager driver 2016-03-21 20:33:15 +05:30
mailbox-altera.c mailbox: Make mbox_chan_ops const 2015-05-12 09:18:16 +05:30
mailbox-sti.c mailbox: Fix devm_ioremap_resource error detection code 2016-05-08 22:44:46 +05:30
mailbox-test.c mailbox: mailbox-test: set tdev->signal to NULL after freeing 2016-06-12 15:13:04 +05:30
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Fix wrong test for devm_kzalloc 2016-04-08 09:30:11 +05:30
mailbox.c mailbox: Stop using ENOSYS for anything other than unimplemented syscalls 2016-04-12 13:28:32 +05:30
mailbox.h Mailbox: Add support for Platform Communication Channel 2014-11-27 12:51:09 +05:30
Makefile mailbox: Introduce TI message manager driver 2016-03-21 20:33:15 +05:30
omap-mailbox.c mailbox/omap: kill omap_mbox_{save/restore}_ctx() functions 2016-04-26 10:19:38 +05:30
pcc.c Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'acpi-cppc' 2016-04-08 21:46:05 +02:00
pl320-ipc.c arm: use subsys_initcall in non-modular pl320 IPC code 2015-06-16 14:12:35 -04:00
rockchip-mailbox.c mailbox: rockchip: avoid 64-bit division 2016-03-16 09:18:15 +05:30
ti-msgmgr.c mailbox: Introduce TI message manager driver 2016-03-21 20:33:15 +05:30