Alexandre Courbot
2025-Jul-14 03:06 UTC
[PATCH] gpu: nova-core: fix bounds check in PmuLookupTableEntry::new
On Sun Jul 13, 2025 at 11:51 AM JST, Rhys Lloyd wrote:> data is sliced from 2..6, but the bounds check data.len() < 5 > does not satisfy those bounds. > > Fixes: 47c4846e4319 ("gpu: nova-core: vbios: Add support for FWSEC ucode extraction") > > Signed-off-by: Rhys Lloyd <krakow20 at gmail.com> > --- > Changes in v2:Since this is a v2, the message subject should have read "[PATCH v2]". You can achieve this by passing `-v 2` to git format-patch. No need to resend, just pointing it out for next time. :) For the fix in itself, Reviewed-by: Alexandre Courbot <acourbot at nvidia.com>