Commit 7304c3d
authored
Prevent malloc_size underflow
I was going nuts debugging an issue that turned out to be mismatched
allocators, which triggered a malloc_size underflow and the whole
program was running GC all the time unable to do anything else.
abort() so the user can see things went wrong.1 parent 8fe6ea4 commit 7304c3d
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1637 | 1642 | | |
1638 | | - | |
| 1643 | + | |
1639 | 1644 | | |
1640 | 1645 | | |
1641 | 1646 | | |
| |||
0 commit comments