2017-11-10 15:28:40

by Jens Axboe

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

On 11/06/2017 10:53 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> 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


From 1583666556789496473@xxx Fri Nov 10 08:22:00 +0000 2017
X-GM-THRID: 1583340205555903582
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread