commit | ec3b7b6eb8c90b52f61adff11b6db7a8db34de19 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Thu Oct 17 23:41:50 2019 -0500 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Oct 22 10:59:36 2019 +0200 |
tree | 4b2057bfa0ddde02ebcc17700fa4606220442776 | |
parent | 57a25a5f754ce27da2cfa6f413cfd366f878db76 [diff] |
drm/gma500: fix memory disclosures due to uninitialized bytes "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 <kjlu@umn.edu> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20191018044150.1899-1-kjlu@umn.edu