From 90d1f02e253d3176ff72895327e88a2896975fbf Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 23 Nov 2023 23:39:05 +0100 Subject: [PATCH] Ircview: Fix out of bound memory read when a line ends with a tab; fix #2377 --- src/kvirc/ui/KviIrcView_getTextLine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kvirc/ui/KviIrcView_getTextLine.cpp b/src/kvirc/ui/KviIrcView_getTextLine.cpp index d456405228..d00d24b862 100644 --- a/src/kvirc/ui/KviIrcView_getTextLine.cpp +++ b/src/kvirc/ui/KviIrcView_getTextLine.cpp @@ -584,7 +584,6 @@ const kvi_wchar_t * KviIrcView::getTextLine( APPEND_LAST_TEXT_BLOCK(data_ptr, p - data_ptr); NEW_LINE_CHUNK(KviControlCodes::ArbitraryBreak); data_ptr = p; - p++; break; case '\r': #ifdef COMPILE_USE_DYNAMIC_LABELS