eedesktop.org
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drm/amd/powerplay: check if table_info is NULL before
> dereferencing it
>
> On 15/11/16 15:49, Deucher, Alexander wrote:
> >> -Original Message-
> >> From: Colin King [mailto:colin.k...@c
, Ray; Nils Wallménius; Baoyou Xie; dri-
>> de...@lists.freedesktop.org
>> Cc: linux-kernel@vger.kernel.org
>> Subject: [PATCH] drm/amd/powerplay: check if table_info is NULL before
>> dereferencing it
>>
>> From: Colin Ian King
>>
>> table_info is bei
op.org
> Cc: linux-kernel@vger.kernel.org
> Subject: [PATCH] drm/amd/powerplay: check if table_info is NULL before
> dereferencing it
>
> From: Colin Ian King
>
> table_info is being dereferenced before a null check, which implies
> a potential null pointer deference erro
From: Colin Ian King
table_info is being dereferenced before a null check, which implies
a potential null pointer deference error. Fix this by moving the null
check of table_info to the start of smu7_get_evv_voltages to avoid
potential null pointer deferencing.
Found with static analysis by Cov
4 matches
Mail list logo