Re: [PATCH] block: avoid null pointer dereference on null disk
From
Jens Axboe <>
Date
Fri, 10 Nov 2017 08:26:36 -0700
On 11/06/2017 10:53 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.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.