Commit 47d8218
committed
zend: find_frameless_function_offset() walking past the handler array's end.
The loop tested the cursor pointer, not the slot, so it never stopped on the
NULL terminator. It now counts off zend_flf_count, and the caller advances
instead of spinning on continue.1 parent f142b81 commit 47d8218
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4925 | 4925 | | |
4926 | 4926 | | |
4927 | 4927 | | |
4928 | | - | |
4929 | | - | |
4930 | | - | |
4931 | | - | |
4932 | | - | |
| 4928 | + | |
| 4929 | + | |
| 4930 | + | |
4933 | 4931 | | |
4934 | | - | |
4935 | 4932 | | |
4936 | 4933 | | |
| 4934 | + | |
| 4935 | + | |
4937 | 4936 | | |
4938 | 4937 | | |
4939 | 4938 | | |
| |||
4963 | 4962 | | |
4964 | 4963 | | |
4965 | 4964 | | |
4966 | | - | |
4967 | | - | |
| 4965 | + | |
| 4966 | + | |
4968 | 4967 | | |
4969 | | - | |
4970 | 4968 | | |
4971 | 4969 | | |
4972 | 4970 | | |
| |||
0 commit comments