[PATCH 1/1] platform: generic: allwinner: avoid buffer overrun

Andreas Schwab schwab at linux-m68k.org
Tue Dec 27 06:06:00 PST 2022


On Dez 27 2022, Bin Meng wrote:

> Passing num = 200 to plic_priority_save/restore.
>
> You can argue my example is a misuse of the API,

It is a bug just like the bug in plic_priority_save/restore.

> but I can argue a wrong dtb should not be in the first place too.

The dtb is an external resource.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the opensbi mailing list