diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-30 14:45:19 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | 73b9b227eb35696e061b1c8edd0d4e2a935eb3b7 (patch) | |
tree | 53943b4b6387bcae53ad8f6365302cd00e2ee12d /firmware/core_alloc.c | |
parent | b12427741a66d7af983f0efd85a447cbdd6afbb9 (diff) | |
download | rockbox-73b9b227eb35696e061b1c8edd0d4e2a935eb3b7.tar.gz rockbox-73b9b227eb35696e061b1c8edd0d4e2a935eb3b7.zip |
buflib: add block length paranoia checks for loops
Tighten up checking by adding length checks to loops which
ensure the iteration stays within bounds. Check is disabled
by default and can be enabled using a BUFLIB_PARANOIA bit.
Change-Id: I35e911e0878797d5ebf732be548ca659f6910fe0
Diffstat (limited to 'firmware/core_alloc.c')
0 files changed, 0 insertions, 0 deletions