[lkml]   [2017]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg

Gustavo A.,

> _vreg_ is being dereferenced before it is null checked, hence there is a
> potential null pointer dereference.
> Fix this by moving the pointer dereference after _vreg_ has been null
> checked.

Applied to 4.15/scsi-fixes, thank you!

Martin K. Petersen Oracle Linux Engineering

 \ /
  Last update: 2017-11-22 05:01    [W:0.048 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site