alistair23-linux/drivers/mailbox
Dan Carpenter 78f3ff524f mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate()
The > comparison should be >= or we access one element beyond the end
of the array.

(The inst->qinsts[] array is allocated in the ti_msgmgr_probe() function
and it has ->num_valid_queues elements.)

Fixes: a2b79838b8 ("mailbox: ti-msgmgr: Add support for Secure Proxy")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2018-12-12 08:02:45 +05:30
..
arm_mhu.c
bcm-flexrm-mailbox.c mailbox: bcm-flexrm-mailbox: fix spelling mistake "toogle" -> "toggle" 2018-09-29 12:42:39 +05:30
bcm-pdc-mailbox.c
bcm2835-mailbox.c mailbox: bcm2835: Fix of_xlate return value 2018-06-06 22:21:59 +05:30
hi3660-mailbox.c mailbox: Hi3660: Fixup mailbox state machine malfunction issue 2018-12-12 08:01:10 +05:30
hi6220-mailbox.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
imx-mailbox.c mailbox: Add support for i.MX messaging unit 2018-08-15 09:53:07 +05:30
Kconfig drivers: mailbox: Make ti-msgmr driver depend on ARCH_K3 2018-09-29 12:42:39 +05:30
mailbox-altera.c
mailbox-sti.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
mailbox-test.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Fix potential NULL pointer dereference 2018-08-03 18:56:08 +05:30
mailbox.c
mailbox.h
Makefile mailbox: Add support for i.MX messaging unit 2018-08-15 09:53:07 +05:30
mtk-cmdq-mailbox.c mailbox: mediatek: Add check for possible failure of kzalloc 2018-09-29 12:42:39 +05:30
omap-mailbox.c mailbox/omap: use of_device_get_match_data() to get match data 2018-08-03 18:57:15 +05:30
pcc.c mailbox: PCC: handle parse error 2018-09-10 12:54:02 +02:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c mailbox: qcom: Add QCS404 APPS Global compatible 2018-09-29 12:42:39 +05:30
rockchip-mailbox.c
stm32-ipcc.c mailbox: add STMicroelectronics STM32 IPCC driver 2018-06-06 22:21:59 +05:30
tegra-hsp.c
ti-msgmgr.c mailbox: ti-msgmgr: Off by one in ti_msgmgr_of_xlate() 2018-12-12 08:02:45 +05:30