Repository navigation
Commit 9574d5f
Pass the combinations() argument to the twin's helper as the zval it arrived in
Rewrapping the parsed table with ZVAL_ARR marked an immutable array
refcounted — `[]` is the read-only zend_empty_array — and the call into
IterableHelper::combinations() then addref'd read-only memory: a SIGBUS or
SIGSEGV on `CombinationsHelper::combinations([])`, the first case of
turbo-ext/tests/smoke.php, whenever opcache does not intern the literal.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Fdg8n3eEi4ZoXa4dA2k4A1 parent ef16d6e commit 9574d5f
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments