Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overlapping buffers in hist_word (#234)
While experimenting with #233, a memory segmentation fault occurred. A search of other emacs issues found a potential matching issue as described in att#791. Also, a duplicate PR of att#1489 was submitted. This commit backports that fix. src/cmd/ksh93/edit/history.c: hist_word(): - Switch from using strcpy to memmove as the two strings could overlap.
- Loading branch information