summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-01-02 10:09:46 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2023-01-02 10:09:46 -0500
commit6cbf2160e55ac6ec1b8423ce0ca82b6fa432e366 (patch)
tree9fd8042957e6b2ae37513e0c6c4679510a695e9f /firmware/export/config
parent3def8fee8c80a2fd85425d3278ec58de8de698c2 (diff)
downloadrockbox-6cbf2160e55ac6ec1b8423ce0ca82b6fa432e366.tar.gz
rockbox-6cbf2160e55ac6ec1b8423ce0ca82b6fa432e366.zip
tlsf fix corruption checks
Turns out (~PTR_MASK) != (0xFFFFFFFF - PTR_MASK) in 64 bit land tmp_b = (bhdr_t*) ( (intptr_t)b->prev_hdr & BLOCK_SIZE ); using ~STATE_MASK or even #define BLOCK_SIZE (~PTR_MASK) resolves the issue switching BLOCK_SIZE TO ~STATE_MASK appears to fix it Also define BLOCK_SIZE (~PTR_MASK) Fix a few signed / unsigned errors Change-Id: Ica59db0faa2df408831c23312243ae19259dba6b
Diffstat (limited to 'firmware/export/config')
0 files changed, 0 insertions, 0 deletions