skip buffer when dcs parsing overflows. Closes T932
This commit is contained in:
parent
4641ad1a05
commit
f6a08ac7d8
|
@ -1155,7 +1155,8 @@ _handle_esc_dcs(Termpty *ty EINA_UNUSED, const Eina_Unicode *c, const Eina_Unico
|
|||
}
|
||||
if (b == be)
|
||||
{
|
||||
ERR("dcs parsing overflowed (binary data?)");
|
||||
ERR("dcs parsing overflowed, skipping the whole buffer (binary data?)");
|
||||
len = cc - c;
|
||||
goto end;
|
||||
}
|
||||
*b = 0;
|
||||
|
|
Loading…
Reference in New Issue