summaryrefslogtreecommitdiff
path: root/scripts/env2string.awk
diff options
context:
space:
mode:
authorAlex Shumsky <[email protected]>2024-06-19 00:41:38 +0300
committerTom Rini <[email protected]>2024-06-26 09:55:53 -0600
commitee1941e4fec601a8444f49c7dad04ad700d501a6 (patch)
tree0846207bf11e3385bd7b3b283b8e963cedf470e6 /scripts/env2string.awk
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 <[email protected]> Fixes: e342718 ("fs: btrfs: Implement btrfs_file_read()") Reviewed-by: Qu Wenruo <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions