Re: [PATCH][next] drm/amd/display/dc/calcs/dce_calcs: Fix allocation size for dceip and vbios

2021-03-23 Thread Lee Jones
On Tue, 23 Mar 2021, Colin King wrote: > From: Colin Ian King > > Currently the allocations for dceip and vbios are based on the size of > the pointer rather than the size of the data structures, causing heap > issues. Fix this by using the correct allocation sizes. > > Addresses-Coverity: ("Wr

[PATCH][next] drm/amd/display/dc/calcs/dce_calcs: Fix allocation size for dceip and vbios

2021-03-23 Thread Colin King
From: Colin Ian King Currently the allocations for dceip and vbios are based on the size of the pointer rather than the size of the data structures, causing heap issues. Fix this by using the correct allocation sizes. Addresses-Coverity: ("Wrong size of argument") Fixes: a2a855772210 ("drm/amd/d