[PATCH 04/15] bootm: give bootm_load_ functions an end address
Sascha Hauer
s.hauer at pengutronix.de
Fri Jan 30 05:35:49 PST 2026
On Tue, Jan 27, 2026 at 04:31:58PM +0100, Ahmad Fatoum wrote:
> Hi,
>
> On 1/27/26 9:39 AM, Ahmad Fatoum wrote:
> > So far we expected that a load operation will not overflow, but there
> > was actually no way for the callee to check this.
> >
> > As the architecture-specific bootm handlers are tasked with allocating
> > memory for boot artifacts have them pass along not only the start of the
> > load region, but also its end, so the callee can check that it didn't
> > overflow.
> >
> > Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
>
> Please dismiss this one patch. I got at least one end offset wrong and I
> will just redo it separate from this series.
With this at least the next patch doesn't apply anymore. Please resend
then.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list