summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_unicode.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-07-23 11:33:05 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-07-23 11:55:43 +0200
commit42ff1aa86ccb24e35c058385ef61c737024ea3fc (patch)
treed572bb5e0419646eb833b83dbf8438920fb5f2d3 /ext/mbstring/php_unicode.c
parentbd63c0f5b3efd1689a231fccebe74e798e1bbd88 (diff)
downloadphp-git-42ff1aa86ccb24e35c058385ef61c737024ea3fc.tar.gz
Fix overflow checks in mbfl_memory_device
Also prune out some duplicate code and use strlen() and memcpy() instead of ad-hoc reimplementations. Remove multiplications by sizeof(unsigned char), which wrongly imply that this can be anything but 1.
Diffstat (limited to 'ext/mbstring/php_unicode.c')
0 files changed, 0 insertions, 0 deletions