diff options
| author | ZyX <kp-pav@yandex.ru> | 2016-02-11 01:29:09 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:47:13 +0300 |
| commit | f0bd4a149408e75ebf887530964e0948518938dc (patch) | |
| tree | 06c489c6a8b506a122a0d93448c7bc9418dd8b5b /src/nvim/api/buffer.c | |
| parent | 77776b09c684bc2a0c42114fce5a8b04409ec91d (diff) | |
| download | rneovim-f0bd4a149408e75ebf887530964e0948518938dc.tar.gz rneovim-f0bd4a149408e75ebf887530964e0948518938dc.tar.bz2 rneovim-f0bd4a149408e75ebf887530964e0948518938dc.zip | |
eval/encode: Fix invalid UTF-8 strings handling:
1. Do not allow reading past buffer end when creating error messages.
2. Fix surrogate pairs range, avoid magic constants.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions
