summaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/options.c
diff options
context:
space:
mode:
authorAlex Shumsky <alexthreed@gmail.com>2024-06-19 00:41:38 +0300
committerTom Rini <trini@konsulko.com>2024-06-26 09:55:53 -0600
commitee1941e4fec601a8444f49c7dad04ad700d501a6 (patch)
tree0846207bf11e3385bd7b3b283b8e963cedf470e6 /drivers/ddr/fsl/options.c
parent5d9aca5e043084d08666f4f7a87a1d416d9d6421 (diff)
fs: btrfs: fix out of bounds write
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. Signed-off-by: Alex Shumsky <alexthreed@gmail.com> Fixes: e342718 ("fs: btrfs: Implement btrfs_file_read()") Reviewed-by: Qu Wenruo <wqu@suse.com>
Diffstat (limited to 'drivers/ddr/fsl/options.c')
0 files changed, 0 insertions, 0 deletions