[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
On 11/06/2017 10:53 AM, Colin King wrote:
> From: Colin Ian King <>
> 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.038 / U:4.132 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site