aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-02-22 13:37:12 +0100
committerThomas Zimmermann <[email protected]>2023-02-22 17:12:36 +0100
commite034b8a18d4badceecb672c58b488bad1e901d95 (patch)
tree824a208fda6edc1fe197f321f090e07c4a3f7a49 /lib/test_fortify/write_overflow-strncpy-src.c
parent3fb1f62f80a1d249260db5ea9e22c51e52fab9ae (diff)
drm/msm: Fix possible uninitialized access in fbdev
Do not run drm_fb_helper_unprepare() if fbdev allocation fails. Avoids access to an uninitialized pointer. Original bug report is at [1]. Reported-by: kernel test robot <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Fixes: 3fb1f62f80a1 ("drm/fb-helper: Remove drm_fb_helper_unprepare() from drm_fb_helper_fini()") Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ # 1 Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions