mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
stop parsing on lone tag escape
It's C Credit to OSS-Fuzz
This commit is contained in:
parent
73e73df1c5
commit
4c069f5c8f
@ -395,6 +395,8 @@ static void unescape_tag(char *tag)
|
||||
for (; *tmp != '\0'; tmp++, tag++) {
|
||||
if (*tmp == '\\') {
|
||||
tmp++;
|
||||
if (*tmp == '\0')
|
||||
break;
|
||||
switch (*tmp) {
|
||||
case ':':
|
||||
*tag = ';';
|
||||
|
Loading…
Reference in New Issue
Block a user