billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=0517be32f482591fdc4b706d4350eadc25002978
commit 0517be32f482591fdc4b706d4350eadc25002978 Author: Boris Faure <[email protected]> Date: Wed May 17 23:33:06 2017 +0200 termptyesc: no logging when fuzzing --- src/bin/termptyesc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index c558679..b60dcee 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -1171,6 +1171,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) cc++; return cc - c; unhandled: +#ifndef ENABLE_FUZZING if (eina_log_domain_level_check(_termpty_log_dom, EINA_LOG_LEVEL_WARN)) { Eina_Strbuf *bf = eina_strbuf_new(); @@ -1186,6 +1187,7 @@ unhandled: WRN("unhandled CSI '%s': %s", _safechar(*cc), eina_strbuf_string_get(bf)); eina_strbuf_free(bf); } +#endif cc++; return cc - c; } --
