Commit 09c39a8
authored
Fix OSS-Fuzz #454273637: UAF with printf optimization and const output (php#20261)
Note that ZEND_COPY_TMP isn't even valid for CONSTs, and we would need
to add a ref even if it were, so just add special handling instead to
simplify it.1 parent f8656fa commit 09c39a8
2 files changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5009 | 5009 | | |
5010 | 5010 | | |
5011 | 5011 | | |
5012 | | - | |
5013 | | - | |
5014 | | - | |
| 5012 | + | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
| 5017 | + | |
| 5018 | + | |
| 5019 | + | |
| 5020 | + | |
| 5021 | + | |
| 5022 | + | |
5015 | 5023 | | |
5016 | 5024 | | |
5017 | 5025 | | |
| |||
0 commit comments