diff options
| author | oni-link <knil.ino@gmail.com> | 2016-04-13 12:26:10 +0200 |
|---|---|---|
| committer | oni-link <knil.ino@gmail.com> | 2016-04-15 17:35:50 +0200 |
| commit | 11e8ec0cacdfa22820a09b7de7a2eb697018ec80 (patch) | |
| tree | e32051c60b236d636ccb1b245779b15eb420efea /test/functional/insert/ctrl_r_spec.lua | |
| parent | 4eb58273cde14f360c41ad98461b423a87ba3fd1 (diff) | |
| download | rneovim-11e8ec0cacdfa22820a09b7de7a2eb697018ec80.tar.gz rneovim-11e8ec0cacdfa22820a09b7de7a2eb697018ec80.tar.bz2 rneovim-11e8ec0cacdfa22820a09b7de7a2eb697018ec80.zip | |
mbyte.c: Fix invalid memory access in utfc_ptr2char_len
To get an UTF-8 character, utf_ptr2char() is used.
But this function can read more than maxlen bytes, if an incomplete
byte sequence is used(first byte specifies a length > maxlen).
Diffstat (limited to 'test/functional/insert/ctrl_r_spec.lua')
0 files changed, 0 insertions, 0 deletions
