diff options
author | 2020-09-25 12:03:23 -0500 | |
---|---|---|
committer | 2020-09-25 17:15:37 -0700 | |
commit | b4f434839e3e269fbd23606a90c1c0cf86039a08 (patch) | |
tree | 227fc76e88a1131729b25983ebddcc2c9c93be43 /tools/perf/scripts/python/stackcollapse.py | |
parent | Merge branch 'dpaa2-eth-small-updates' (diff) | |
download | wireguard-linux-b4f434839e3e269fbd23606a90c1c0cf86039a08.tar.xz wireguard-linux-b4f434839e3e269fbd23606a90c1c0cf86039a08.zip |
dpaa2-mac: Fix potential null pointer dereference
There is a null-check for _pcs_, but it is being dereferenced
prior to this null-check. So, if _pcs_ can actually be null,
then there is a potential null pointer dereference that should
be fixed by null-checking _pcs_ before being dereferenced.
Addresses-Coverity-ID: 1497159 ("Dereference before null check")
Fixes: 94ae899b2096 ("dpaa2-mac: add PCS support through the Lynx module")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions