summaryrefslogtreecommitdiff
path: root/soh/src/code/debug_malloc.c
diff options
context:
space:
mode:
authorChristopher Leggett <chris@leggett.dev>2023-11-16 15:48:32 -0500
committerChristopher Leggett <chris@leggett.dev>2023-11-16 15:48:32 -0500
commit4f9ce252e760049a0e17b0b046ffc6ec1ecf09a0 (patch)
treeb71b15c2fb095d560232472ca704264476ae3df8 /soh/src/code/debug_malloc.c
parent2698d453bb07a2933bc89574fcd4093797a27141 (diff)
Fixes a potential crash with saves made on older commit.
I had an Off By One Bug in a previous commit, and saves made on that commit ended up crashing on boot due to attempting to access a negative index of an array. Added a bounds check to prevent attempting to load that data.
Diffstat (limited to 'soh/src/code/debug_malloc.c')
0 files changed, 0 insertions, 0 deletions