projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35a768
)
libDtTerm: Fix for a coredump seen on OpenBSD
author
Jon Trulson
<jon@radscan.com>
Wed, 13 Jun 2018 19:27:46 +0000
(13:27 -0600)
committer
Jon Trulson
<jon@radscan.com>
Wed, 13 Jun 2018 19:27:46 +0000
(13:27 -0600)
cde/lib/DtTerm/Term/TermBuffer.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtTerm/Term/TermBuffer.c
b/cde/lib/DtTerm/Term/TermBuffer.c
index fa769e4a7d1ba055b6ae26f974c07bd067c0821d..095fed270db94065f4dfcdb42abf7bd9834607c9 100644
(file)
--- a/
cde/lib/DtTerm/Term/TermBuffer.c
+++ b/
cde/lib/DtTerm/Term/TermBuffer.c
@@
-639,8
+639,8
@@
_DtTermDeleteEnhancement
** end of the line to col
*/
copyCount = WIDTH(line) - (col + width);
- mem
cpy
(enh + col , enh + col + width,
- copyCount * sizeof(DtTermEnhPart));
+ mem
move
(enh + col , enh + col + width,
+
copyCount * sizeof(DtTermEnhPart));
}