Skip to content

Commit

Permalink
Merge branch 'PHP-7.3'
Browse files Browse the repository at this point in the history
* PHP-7.3:
  Incase of invalid read
  • Loading branch information
laruence committed Jan 10, 2019
2 parents d6e32c6 + 16176ad commit b1a4f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/Optimizer/zend_optimizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ void zend_optimizer_remove_live_range(zend_op_array *op_array, uint32_t var)

static uint32_t zend_determine_constructor_call(zend_op_array *op_array, uint32_t start) {
int call = 0;
while (start++ < op_array->last) {
while (++start < op_array->last) {
switch (op_array->opcodes[start].opcode) {
case ZEND_INIT_FCALL_BY_NAME:
case ZEND_INIT_NS_FCALL_BY_NAME:
Expand Down

0 comments on commit b1a4f90

Please sign in to comment.