diff options
author | 2017-05-25 12:04:55 -0500 | |
---|---|---|
committer | 2017-06-20 10:30:31 +0200 | |
commit | c00a231ba053a9b0be8d512957b99395b92bc620 (patch) | |
tree | 382a140ff1e4cc16ead5a76c1ef9bdc510f46831 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mmc: use proper name for the R-Car SoC (diff) | |
download | linux-dev-c00a231ba053a9b0be8d512957b99395b92bc620.tar.xz linux-dev-c00a231ba053a9b0be8d512957b99395b92bc620.zip |
mmc: bcm2835: fix potential null pointer dereferences
Null check at line 1165: if (mrq->cmd), implies that mrq->cmd might
be NULL.
Add null checks before dereferencing pointer mrq->cmd in order to avoid
any potential NULL pointer dereference.
Addresses-Coverity-ID: 1408740
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions