summaryrefslogtreecommitdiff
path: root/doc/develop/codingstyle.rst
diff options
context:
space:
mode:
authorRaymond Mao <[email protected]>2025-07-18 07:16:16 -0700
committerTom Rini <[email protected]>2026-04-27 09:42:36 -0600
commit63cc797a7e89a2543c9997a271ad8f02b04a6777 (patch)
tree5a16203879714c5be6610017013f1603e357e940 /doc/develop/codingstyle.rst
parentad82e750fd2af6d7f098e78e70cbba1678e84b2f (diff)
bloblist: fix a potential negative size for memmove
It causes a panic when blob is shrunk and 'new_alloced' is less than 'next_ofs'. The data area that needs to be moved should end up at 'hdr->used_size'. Fixes: 1fe59375498f ("bloblist: Support resizing a blob") Signed-off-by: Raymond Mao <[email protected]> Reviewed-by: Tom Rini <[email protected]> Tested-by: Michal Simek <[email protected]>
Diffstat (limited to 'doc/develop/codingstyle.rst')
0 files changed, 0 insertions, 0 deletions