summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorZhang Zekun <zhangzekun11@huawei.com>2024-10-25 15:34:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-27 14:02:10 +0100
commit747547972e647509815ad8530ff09d62220a56c2 (patch)
treea58e1e5249cfc0e20db40155ecea344dc17684ba /scripts/stackusage
parentc8395bfcd0e3b3d7c8576dca33ec8f64bf9c3c17 (diff)
downloadlinux-747547972e647509815ad8530ff09d62220a56c2.tar.gz
linux-747547972e647509815ad8530ff09d62220a56c2.tar.bz2
linux-747547972e647509815ad8530ff09d62220a56c2.zip
drm/panel: himax-hx83102: Add a check to prevent NULL pointer dereference
[ Upstream commit e1e1af9148dc4c866eda3fb59cd6ec3c7ea34b1d ] drm_mode_duplicate() could return NULL due to lack of memory, which will then call NULL pointer dereference. Add a check to prevent it. Fixes: 0ef94554dc40 ("drm/panel: himax-hx83102: Break out as separate driver") Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20241025073408.27481-3-zhangzekun11@huawei.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20241025073408.27481-3-zhangzekun11@huawei.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions