Thread (3 messages) 3 messages, 3 authors, 2017-11-10

Re: [PATCH] block: avoid null pointer dereference on null disk

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-11-10 15:26:40
Also in: kernel-janitors, lkml

On 11/06/2017 10:53 AM, Colin King wrote:
From: Colin Ian King <redacted>

It is possible that the pointer disk can be null and hence
we can get a null pointer deference when accessing disk->flags.
Add a null pointer check to avoid the dereference.
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help