Re: [PATCH] drm/gma500: fix memory disclosures due to uninitialized bytes

2019-10-22 Thread Daniel Vetter
On Thu, Oct 17, 2019 at 11:41:50PM -0500, Kangjie Lu wrote: > "clock" may be copied to "best_clock". Initializing best_clock > is not sufficient. The fix initializes clock as well to avoid > memory disclosures and informaiton leaks. > > Signed-off-by: Kangjie Lu Again no leak here, but also does

[PATCH] drm/gma500: fix memory disclosures due to uninitialized bytes

2019-10-17 Thread Kangjie Lu
"clock" may be copied to "best_clock". Initializing best_clock is not sufficient. The fix initializes clock as well to avoid memory disclosures and informaiton leaks. Signed-off-by: Kangjie Lu --- drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver