aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_main.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2016-08-21 17:56:19 +0000
committerDaniel Vetter <[email protected]>2016-08-22 07:27:06 +0000
commitec913f31a570b57e72e69b4122de70a6b2ef760f (patch)
tree18d225834816c1dcaea8c5e441a79d97cbb0a17d /drivers/gpu/drm/udl/udl_main.c
parentreservation: fix small comment typo (diff)
downloadkernel-ec913f31a570b57e72e69b4122de70a6b2ef760f.tar.gz
kernel-ec913f31a570b57e72e69b4122de70a6b2ef760f.zip
drm: avoid exposing kernel stack in compat_drm_getstats
The C standard does not specify the size of the integer used to store an enum. Hence in structure drm_stats32_t alignment bytes may exist. To avoid exposing bytes from the kernel stack it is necessary to initialize variable s32 completely. Signed-off-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/udl/udl_main.c')
0 files changed, 0 insertions, 0 deletions