diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-10-20 13:31:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-07 13:08:28 +0100 |
commit | 354e379684fcc70ab8d5450b4d57bd92b5294dfd (patch) | |
tree | 290f57de41dbf34bdb711b5b80c62c38edc8ce7f /scripts/gdb/linux/symbols.py | |
parent | 4dc2a3cd27856531cf92762fea2eb9468efe552f (diff) |
staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
Function 'mtk_hsdma_start_transfer' uses 'tx_desc' pointer which can be
dereferenced before it is initializated. Initializate pointer before
avoiding the problem.
Fixes: 0853c7a53eb3 ("staging: mt7621-dma: ralink: add rt2880 dma engine")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions