Skip to content

Conversation

@crrodriguez
Copy link
Contributor

There are multiple internal definitions of the posix 2008 strnlen function, consolidate them by exporting zend_strnlen and use it everywhere.

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 @crrodriguez!

@iluuu1994 iluuu1994 merged commit 782ffd7 into php:master Aug 22, 2023
@iluuu1994
Copy link
Member

@crrodriguez Perfect, thank you!

jorgsowa pushed a commit to jorgsowa/php-src that referenced this pull request Aug 24, 2023
* Zend: Make zend_strnlen available for use outside zend_compile

* exif: remove local php_strnlen, use zend_strnlen instead

* main: remove local strnlen, use zend_strnlen instead

* phar: remove local strnlen, use zend_strnlen
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.

3 participants