diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-10-17 23:41:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 16:35:22 +0100 |
| commit | 7a284055e4c4d2b45955532252f8e63cc41aa2e0 (patch) | |
| tree | 3dcbc99957001a95f8873bfc612be7243f1d61a1 /include/linux/string.h | |
| parent | c761b5edde95294afd8747a69798411bdce72656 (diff) | |
drm/gma500: fix memory disclosures due to uninitialized bytes
[ Upstream commit ec3b7b6eb8c90b52f61adff11b6db7a8db34de19 ]
"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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
