drm/amd/display: Add array index check for hdcp ddc access
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:49:00 +0000 (08:49 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:49:00 +0000 (08:49 +0000)
commit2a65b6dfc780c46209d28a2826add5d6656fbbd0
tree1794f209f3f1bd3941062978a1305255afc006a1
parentb24867b92ccba7a3c3b8282c0dc892eb6926852b
drm/amd/display: Add array index check for hdcp ddc access

From Hersen Wu
8b5ccf3d011969417be653b5a145c72dbd30472c in linux-6.6.y/6.6.50
4e70c0f5251c25885c31ee84a31f99a01f7cf50e in mainline linux
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c