summaryrefslogtreecommitdiff
path: root/documentation/3.kernel/basic/basic.md
diff options
context:
space:
mode:
authorHui Su <[email protected]>2026-08-19 13:42:55 +0800
committerRbb666 <[email protected]>2026-08-20 09:48:13 +0800
commit8234a3614e289945cf425e3fcca3979f99a17422 (patch)
tree3b3ee267c69b53da602c939393ade72eba1cf7c9 /documentation/3.kernel/basic/basic.md
parent991f0ffca6ca475adcffc7833876bb8151f16e9c (diff)
[kernel/memheap] fix: stop invalid frees from corrupting heap
RT_ASSERT() does not stop execution when RT_DEBUGING_ASSERT is disabled. Return after the existing block validation so a sequential duplicate free cannot update heap accounting or the free list in release builds. Before fix: memheap double-free used: before=64 alloc=224 free=64 after=4294959232 Validation: scons -C bsp/qemu-vexpress-a9 -j$(nproc) Signed-off-by: Hui Su <[email protected]>
Diffstat (limited to 'documentation/3.kernel/basic/basic.md')
0 files changed, 0 insertions, 0 deletions