Re: [PATCH v2] pytest: fix out of bounds access to bad_pattern_ids
Tom Rini <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <178671547424.3828101.12613405549620459987.b4-ty__45320.5077721336$1786715500$gmane$org@konsulko.com> |
On Sun, 09 Aug 2026 11:36:45 -0700, Denis Mukhin via U-Boot wrote:
> With 'pattern_lab_mode' at index 1, every bad-pattern index is off by
> one, so the wrong id is reported and a match on the final bad pattern
> indexes past the end of 'bad_pattern_ids'.
>
> Ensure out of bound access to 'bad_pattern_ids' is handled correctly
> while processing test console output.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] pytest: fix out of bounds access to bad_pattern_ids
commit: d3e8597e46b635ec556a057bc42f0b0859654bdf
--
Tom