Commit 7850c78
committed
Fix crash related to binary_to_term
If `MIN_FREE_SPACE_SIZE` is 0, or if allocation strategy is fixed, this
crashes. Fix the crash with a hack that consists in using ctx->x[0] as a
GC root.
Signed-off-by: Paul Guyot <[email protected]>1 parent 427dd48 commit 7850c78
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2511 | 2511 | | |
2512 | 2512 | | |
2513 | 2513 | | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
2514 | 2519 | | |
2515 | | - | |
| 2520 | + | |
2516 | 2521 | | |
2517 | 2522 | | |
2518 | 2523 | | |
| |||
0 commit comments