drm/displayid: add displayid_get_header() and check bounds better
authorjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:48:26 +0000 (02:48 +0000)
committerjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:48:26 +0000 (02:48 +0000)
commit672b87bfaa8695f0c5c22f11954e29e5c9800b25
treebb69413b05881c2ad084620140b052ab1fb377f4
parentd218186b6ee9c3dca05062c1e840bf763326cefd
drm/displayid: add displayid_get_header() and check bounds better

From Jani Nikula
4b17053ba268bf952c19ecb58d66d5d72e782d13 in linux-6.1.y/6.1.30
5bacecc3c56131c31f18b23d366f2184328fd9cf in mainline linux
sys/dev/pci/drm/drm_displayid.c