drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
authorjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 03:21:12 +0000 (03:21 +0000)
committerjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 03:21:12 +0000 (03:21 +0000)
commit10dbcd437a13cf6139ada32e43ece3c021011609
tree6464dcc079affd9af1d5ccfce570fc92cd2b6376
parent41e79e59385f0192b9c1d5941dc6dfd20a3889c6
drm: Fix potential null-ptr-deref due to drmm_mode_config_init()

From Shang XiaoJing
b14147464251f66e38fa39f0aae9780466db8610 in linux-6.1.y/6.1.16
834c23e4f798dcdc8af251b3c428ceef94741991 in mainline linux
sys/dev/pci/drm/drm_mode_config.c