[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 <>
> 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.035 / U:2.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site