aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolashillegeer@gmail.com>2017-04-07 12:29:17 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-07 12:29:17 +0200
commit1813076c448f1039db33e08e83b7f1f2011db0ee (patch)
tree952d791112403c35dddb3370b8d0ab69ee7fc2b7 /src/clint.py
parent30e1cda8acb7bd8120348d1812cfd9ecd8be8528 (diff)
downloadrneovim-1813076c448f1039db33e08e83b7f1f2011db0ee.tar.gz
rneovim-1813076c448f1039db33e08e83b7f1f2011db0ee.tar.bz2
rneovim-1813076c448f1039db33e08e83b7f1f2011db0ee.zip
eval: delimit string with NUL byte (#6467)
A recent refactor left cpy without a NUL terminator, simplify the code instead of patching over it. Instead of plain memcpy, it'd be better to employ harder to misuse string functions made for this purpose like xstrlcpy(), but path_tail() takes char_u arguments and returns them, leading to a lot of ugly casting. Fixes #6431.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions