lkml.org 
[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][-next] block, bfq: don't dereference bic before null checking it
On Thu, Apr 20 2017, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The call to bfq_check_ioprio_change will dereference bic, however,
> the null check for bic is after this call. Move the the null
> check on bic to before the call to avoid any potential null
> pointer dereference issues.

Thanks, added.

--
Jens Axboe

\
 
 \ /
  Last update: 2017-04-20 16:21    [W:0.033 / U:31.700 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site