summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/php_mysqlnd.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-27 12:24:58 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-27 12:24:58 +0200
commitce83ec87909331e9a643e4e81c33524c0994641f (patch)
tree489bba609ede7cb5af5105a574d7b3dd54f87565 /ext/mysqlnd/php_mysqlnd.h
parent0026d8a7838914296c0d7e99ddc639c84e6ebb8a (diff)
downloadphp-git-ce83ec87909331e9a643e4e81c33524c0994641f.tar.gz
Clean up strtok implementation
Store the zend_string instead of performing a copy and storing in a zval. Also make sure the string is released immediately if it's no longer needed. Finally, avoid null pointer offset UB if no string has been set -- though I'm wondering if this case shouldn't be generating a warning?
Diffstat (limited to 'ext/mysqlnd/php_mysqlnd.h')
0 files changed, 0 insertions, 0 deletions