Commit a49b345
committed
Add panic error code for heap corruption
Currently, the memory allocator does not trigger a kernel panic on
detected corruption or invalid operations. However, once the heap is
corrupted, the kernel can no longer guarantee safe or correct behavior.
Introduce ERR_HEAP_CORRUPT with a corresponding error message to
prepare for future panic-on-error handling in the memory allocator.1 parent 84fd57c commit a49b345
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments