mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 15:41:38 +00:00
Ignore trailing backslash in unescape_special_chars() (#19585)
This commit is contained in:
parent
5281f27aa5
commit
26cfc906e4
@ -2896,6 +2896,11 @@ static char *unescape_special_chars(const char *s, const char *special_chars) {
|
||||
dst[j++] = s[i];
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!s[i + 1]) {
|
||||
break;
|
||||
}
|
||||
|
||||
dst[j++] = s[i + 1];
|
||||
i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user