Thread (5 messages) 5 messages, 3 authors, 2017-05-29

[PATCH] mmc: host: fix potential null pointer dereference

From: Gustavo A. R. Silva <hidden>
Date: 2017-05-25 16:46:44
Also in: linux-mmc, lkml

Hi Stefan,

Quoting Stefan Wahren [off-list ref]:
Hi Gustavo,
quoted
"Gustavo A. R. Silva" [off-list ref] hat am 24. Mai 2017  
um 01:42 geschrieben:


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
Signed-off-by: Gustavo A. R. Silva <redacted>
Tested-by: Stefan Wahren <redacted>

with a Raspberry Pi Zero.

But please change the subject to make sure it's bcm2835 related:

mmc: bcm2835: fix potential null pointer dereferences
OK, I'll send v2 shortly.

Thank you
--
Gustavo A. R. Silva
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help