Skip to content

Commit

Permalink
Ircview: Fix out of bound memory read when a line ends with a tab; fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca committed Nov 28, 2023
1 parent bee611a commit 90d1f02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/kvirc/ui/KviIrcView_getTextLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90d1f02

Please sign in to comment.