Commit dff644f
fix: JS_HANDLE_TAG extraction in js_nanbox_get_pointer, layout guard
- js_nanbox_get_pointer now extracts pointers from JS_HANDLE_TAG (0x7FFB)
values. Previously these fell through to the default case returning 0,
causing null pointer dereferences when widget handles crossed module
boundaries via inline_nanbox_pointer's "already tagged" path.
- Guard unwrap() in layout_stack against None from try_borrow re-entrancy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 73d7469 commit dff644f
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
| 677 | + | |
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
696 | 702 | | |
697 | 703 | | |
698 | 704 | | |
| |||
0 commit comments