aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQuentin Deslandes <[email protected]>2019-05-20 16:39:01 +0000
committerGreg Kroah-Hartman <[email protected]>2019-05-21 08:25:03 +0200
commit3fd14ebc2d5233e0fd6a90486cb88f5592875a6b (patch)
tree6b88341e24e134bc126bcf4f2989f57a0d14b874 /tools/perf/scripts/python
parenta7bfc177d8a5865f4c14043d98a24b1e962289c5 (diff)
staging: vt6656: fix potential NULL pointer dereference
vnt_free_tx_bufs() relies on priv->tx_context elements to be NULL if they are not initialized (as vnt_free_rx_bufs() does). Add a check to these elements in order to avoid NULL pointer dereference. Signed-off-by: Quentin Deslandes <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions