Files
linux/drivers
Gustavo A. R. Silva 05fc2b8ba0 dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved
[ Upstream commit 62a277d43d ]

_xt_ is being dereferenced before it is null checked, hence there is a
potential null pointer dereference.

Fix this by moving the pointer dereference after _xt_ has been null
checked.

This issue was detected with the help of Coccinelle.

Fixes: 4483320e24 ("dmaengine: Use Pointer xt after NULL check.")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:08:01 +01:00
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-02-25 11:07:58 +01:00
2018-02-25 11:07:57 +01:00
2018-02-25 11:07:55 +01:00
2017-12-29 17:53:46 +01:00
2018-02-22 15:42:23 +01:00
2018-01-17 09:45:27 +01:00
2018-02-25 11:07:59 +01:00
2018-02-22 15:42:28 +01:00