[PATCH v2] fs: btrfs: fix out of bounds write

Tom Rini trini at konsulko.com
Fri Jun 28 21:49:26 CEST 2024


On Wed, 19 Jun 2024 00:41:38 +0300, Alex Shumsky wrote:

> Fix btrfs_read/read_and_truncate_page write out of bounds of destination
> buffer. Old behavior break bootstd malloc'd buffers of exact file size.
> Previously this OOB write have not been noticed because distroboot usually
> read files into huge static memory areas.
> 
> 

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list