Re: [PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-29 Thread Vinod Koul
On Mon, Nov 20, 2017 at 08:28:14AM -0600, Gustavo A. R. Silva wrote: > _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

Re: [PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-29 Thread Vinod Koul
On Mon, Nov 20, 2017 at 08:28:14AM -0600, Gustavo A. R. Silva wrote: > _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

Re: [PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-23 Thread Ludovic Desroches
On Mon, Nov 20, 2017 at 08:28:14AM -0600, Gustavo A. R. Silva wrote: > _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

Re: [PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-23 Thread Ludovic Desroches
On Mon, Nov 20, 2017 at 08:28:14AM -0600, Gustavo A. R. Silva wrote: > _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

[PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-20 Thread Gustavo A. R. Silva
_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: 4483320e241c ("dmaengine: Use Pointer xt after NULL

[PATCH] dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved

2017-11-20 Thread Gustavo A. R. Silva
_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: 4483320e241c ("dmaengine: Use Pointer xt after NULL