Skip to content
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

Add terminating character to zend_lookup_class call #5871

Merged
merged 6 commits into from
Mar 13, 2019

Conversation

dwsupplee
Copy link
Contributor

Closes: #5837

It turns out for PHP5 zend_lookup_class expects a null terminated string.

@TeBoring TeBoring self-requested a review March 12, 2019 17:13
@TeBoring TeBoring self-assigned this Mar 12, 2019
@TeBoring TeBoring added the php label Mar 12, 2019
@TeBoring
Copy link
Contributor

Could you send this PR to 3.7.x branch instead?

@TeBoring
Copy link
Contributor

Or could you send a cherryp-pick PR to 3.7.x after this is merged?

@dwsupplee
Copy link
Contributor Author

Sure thing!

@TeBoring TeBoring merged commit 93533f7 into protocolbuffers:master Mar 13, 2019
@TeBoring
Copy link
Contributor

Thanks for the fix!

dwsupplee added a commit to dwsupplee/protobuf that referenced this pull request Mar 13, 2019
…5871)

* add terminating character

* adjust name length input

* add test cases

* correct script name

* Misc fixes

* add new script to EXTRA_DIST list
TeBoring pushed a commit that referenced this pull request Mar 13, 2019
* add terminating character

* adjust name length input

* add test cases

* correct script name

* Misc fixes

* add new script to EXTRA_DIST list
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.

4 participants