CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/03/18 18:21:28
Modified files:
usr.bin/vi/ex : ex.c
Log message:
By issuing :e +something in vi(1) this uncovers a backwards memcpy with the
code because the 2 buffers overlap and in order to solve it then replace
memcpy(3) call by memmove(3)
Issue noticed by Michael Price <michael at ectospheno dot com> who also tested
this diff
OK deraadt@
