skip buffer when dcs parsing overflows. Closes T932

This commit is contained in:
Boris Faure 2014-02-11 22:18:12 +01:00
parent 4641ad1a05
commit f6a08ac7d8
1 changed files with 2 additions and 1 deletions

View File

@ -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;