diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-28 13:18:00 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-28 15:43:44 +0100 |
commit | 6adb885966502f53c69b9aeb0e2cbbeac3d6c65a (patch) | |
tree | c1b85890d795bd9a8f655e5c8c6de51d996425a8 /Zend/zend_language_scanner.c | |
parent | d31fc591e0a852c69b81b3311b3609221f66c445 (diff) | |
download | php-git-6adb885966502f53c69b9aeb0e2cbbeac3d6c65a.tar.gz |
Fix #79311: enchant_dict_suggest() fails on big endian architecture
For obvious reasons, we must not assign a `size_t` value to an `int`
variable using memcpy(). However, there is actually no need for the
intermediate `n_sugg_st` here, if we use the proper types in the first
place.
A regression test is not necessary, because dict_suggest.phpt already
exhibits the erroneous behavior on big endian architectures.
Diffstat (limited to 'Zend/zend_language_scanner.c')
0 files changed, 0 insertions, 0 deletions