[PATCH 1/1] lmb: do not panic in lmb_print_region_flags

Tom Rini trini at konsulko.com
Fri Nov 15 05:27:43 CET 2024


On Sat, 02 Nov 2024 07:32:26 +0100, Heinrich Schuchardt wrote:

> Commit c3cf0dc64f1c ("lmb: add a check to prevent memory overrun")
> addressed a possible buffer overrun using assert_noisy().
> 
> Resetting via panic() in lmb_print_region() while allowing invalid
> lmb flags elsewhere is not reasonable.
> 
> Instead of panicking print a message indicating the problem.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list