summaryrefslogtreecommitdiff
path: root/ext/phar/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-02 16:43:00 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-02 16:45:25 +0200
commit54dbd3eccc867f456f257ce11556b50fcbee2ccf (patch)
treeec4b61f9cecc86f3cb7d20bbfe2fb73c413fc756 /ext/phar/tests
parent2e9e706a8271bbb42ad696c3383912facdd7d45f (diff)
downloadphp-git-54dbd3eccc867f456f257ce11556b50fcbee2ccf.tar.gz
Fix binary-safety of parse_url
php_parse_url() is intended to support strings that are not zero terminated. We can't use strcspn in the implementation. As we have two uses of strcspn, add a helper.
Diffstat (limited to 'ext/phar/tests')
0 files changed, 0 insertions, 0 deletions