lkml.org 
[lkml]   [2017]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] block: avoid null pointer dereference on null disk
From
Date
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.

Applied, thanks.

--
Jens Axboe

\
 
 \ /
  Last update: 2017-11-10 16:26    [W:0.037 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site