Re: [PATCH] bootstd: android: bound the boot image read by its partition size

Mattijs Korpershoek <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <178652089345.239806.17329637437699875380.b4-ty@b4>
Hi,

On Wed, 29 Jul 2026 21:02:09 +0200, Shahriyar Jalayeri wrote:
> read_slotted_partition() loads an Android boot/vendor_boot image into the
> load address, sizing the read from the image header:
> 
> 	num_blks = DIV_ROUND_UP(image_size, desc->blksz);
> 	...
> 	blk_dread(desc, partition.start, num_blks, map_sysmem(addr, 0));
> 
> [...]

Thanks, Applied to https://git.u-boot-project.org/u-boot/custodians/u-boot-dfu (u-boot-dfu)

[1/1] bootstd: android: bound the boot image read by its partition size
      https://git.u-boot-project.org/u-boot/custodians/u-boot-dfu/-/commit/35432ef6fe2c79ab72709966e64815a45eb55c76

--
Mattijs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.