diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-05-23 13:11:47 -0500 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2017-05-23 20:12:53 +0200 |
| commit | 7dab5467647be42736dcabcd5d035c7b571f4653 (patch) | |
| tree | 0276cfc8956330e5eb53fdda92a2210f096a66a5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a611c58b3d42a92e6b23423e166dd17c0c7fffce (diff) | |
net: ieee802154: fix potential null pointer dereference
Null check at line 918: if (!spi) {, implies spi might be NULL.
Function spi_get_drvdata() dereference pointer spi.
Move pointer priv assignment after the null check.
Addresses-Coverity-ID: 1408888
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions