Skip to content

Fix null pointer dereference in zend_get_executed_lineno() #10003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

arnaud-lb
Copy link
Member

Fixes #9933

This can happen due to missing SAVE_OPLINE() in the VM
@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.1 November 26, 2022 15:15
@arnaud-lb arnaud-lb marked this pull request as ready for review December 2, 2022 11:58
@arnaud-lb arnaud-lb requested review from bwoebi and iluuu1994 December 2, 2022 11:59
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@arnaud-lb arnaud-lb merged commit adc2382 into php:PHP-8.1 Dec 2, 2022
arnaud-lb added a commit to arnaud-lb/php-src that referenced this pull request Dec 2, 2022
* PHP-8.1:
  [ci skip] NEWS
  Fallback to first line of function when ex->opline is NULL (php#10003)
arnaud-lb added a commit to arnaud-lb/php-src that referenced this pull request Dec 2, 2022
* PHP-8.2:
  [ci skip] NEWS
  [ci skip] NEWS
  Fallback to first line of function when ex->opline is NULL (php#10003)
cmb69 added a commit that referenced this pull request Dec 5, 2022
* PHP-8.1:
  Fallback to first line of function when ex->opline is NULL (#10003)
cmb69 added a commit that referenced this pull request Dec 5, 2022
* PHP-8.2:
  Fallback to first line of function when ex->opline is NULL (#10003)
@cmb69
Copy link
Member

cmb69 commented Dec 5, 2022

Please don't forget to merge upwards next time. :)

@arnaud-lb
Copy link
Member Author

Oh, I think that I forgot to push. Sorry for the inconvenience, thank you for doing it!

nielsdos pushed a commit to nielsdos/php-src that referenced this pull request Dec 12, 2022
ex->opline can be null due to missing SAVE_OPLINE() in the VM

Fixes phpGH-9933
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crashes due to ex->opline being null
3 participants