[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47f5fa8a-136f-a7c3-d713-363983653d2d@kernel.dk>
Date: Fri, 10 Nov 2017 08:26:36 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Colin King <colin.king@...onical.com>, linux-block@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
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 <colin.king@...onical.com>
>
> 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
Powered by blists - more mailing lists