aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2021-07-30 12:11:15 -0700
committerLucas De Marchi <[email protected]>2021-07-30 19:06:13 -0700
commit3989de0ef562a9168782258f3c6d2f517d82bbed (patch)
tree7ce7a6a3ccdcad3a98342a104d3ce51733ed8177 /lib/netdev-notifier-error-inject.c
parent6d0e4f077c895549bc02b2b3db2d66aae6e865a3 (diff)
drm/i915/xehp: Fix missing sentinel on mcr_ranges_xehp
There's a missing sentinel since we are not using ARRAY_SIZE(), but rather checking that the .start is 0 to stop the iteration in mcr_range(). BUG: KASAN: global-out-of-bounds in mcr_range.isra.0+0x69/0xa0 [i915] Read of size 4 at addr ffffffffa0889928 by task modprobe/3881 Fixes: d8905ba705ab ("drm/i915/xehp: Define multicast register ranges") Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions