Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Jun 4, 2020

No description provided.

Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

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

Side note: The + 1 in the allocation is incorrect. zend_string_alloc adds +1 for the null byte itself.

`zend_string_init()` already adds space for the NUL byte.
@cmb69
Copy link
Member Author

cmb69 commented Jun 4, 2020

Thanks! Applied as ceae816.

@cmb69 cmb69 closed this Jun 4, 2020
@cmb69 cmb69 deleted the cmb/73527 branch June 4, 2020 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants