• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8789 (tree)
Time2020-05-23 23:22:04
Authorzmatsuo

Log Message

改行コード変換時バッファオーバーランを起こしていた

Change Summary

Incremental Difference

--- trunk/teraterm/teraterm/sendmem.cpp (revision 8788)
+++ trunk/teraterm/teraterm/sendmem.cpp (revision 8789)
@@ -434,7 +434,7 @@
434434 const wchar_t *p = src;
435435 const wchar_t *p_end = src + src_len;
436436 wchar_t *dest = dest_top;
437- while (p <= p_end) {
437+ while (p < p_end) {
438438 wchar_t c = *p++;
439439 if (c == CR) {
440440 if (*p == LF) {
Show on old repository browser