diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-07-23 11:33:05 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-07-23 11:55:43 +0200 |
commit | 42ff1aa86ccb24e35c058385ef61c737024ea3fc (patch) | |
tree | d572bb5e0419646eb833b83dbf8438920fb5f2d3 /ext/mbstring/php_unicode.c | |
parent | bd63c0f5b3efd1689a231fccebe74e798e1bbd88 (diff) | |
download | php-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