summaryrefslogtreecommitdiff
path: root/firmware/target/mips
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2020-06-27 23:32:45 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2020-07-15 13:29:21 +0000
commit8577d5aea360f9925c1dda77b11f49967b601525 (patch)
tree16e18228321851a1c4874416013354ada3424405 /firmware/target/mips
parent7d005335ba1af1eef4db83f9a0ebec121d38be80 (diff)
downloadrockbox-8577d5aea360f9925c1dda77b11f49967b601525.tar.gz
rockbox-8577d5aea360f9925c1dda77b11f49967b601525.zip
Buflib_init Bugfix Minsize
when buflib_init is called with a buffer smaller than sizeof(union buflib_data); size will be zero Later when the alloc fails buflib will keep try to free items in order to satisify the request this crashes in the sim I suspect this behavior holds true on device as well but I havent verified this as of yet. patch adds minimal overhead to the buflib and panics when the size is too small Change-Id: I46e510367fc1cac19ce01ee6f92d8cf0d65ef914
Diffstat (limited to 'firmware/target/mips')
0 files changed, 0 insertions, 0 deletions