billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=a0c249e6cabec48dc24d29bf470467f90cef2f4c

commit a0c249e6cabec48dc24d29bf470467f90cef2f4c
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Nov 14 21:25:39 2015 +0100

     fix crash when running tyfuzz. not in terminology
---
 src/bin/termptyesc.c | 2 ++
 src/bin/tyfuzz.c     | 7 -------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 81ede2f..3b0552f 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1408,10 +1408,12 @@ _handle_esc_xterm(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
              len = cc - c - (p - buf);
              if (_xterm_parse_color(&p, &r, &g, &b, len) < 0)
                goto err;
+#ifndef ENABLE_FUZZING
              evas_object_textgrid_palette_set(
                 termio_textgrid_get(ty->obj),
                 EVAS_TEXTGRID_PALETTE_STANDARD, 0,
                 r, g, b, 0xff);
+#endif
           }
         break;
       case 777:
diff --git a/src/bin/tyfuzz.c b/src/bin/tyfuzz.c
index 29c57db..5c0c317 100644
--- a/src/bin/tyfuzz.c
+++ b/src/bin/tyfuzz.c
@@ -49,13 +49,6 @@ termio_scroll(Evas_Object *obj EINA_UNUSED,
 {
 }
 
-/* used to set argument to evas_object_textgrid_palette_set()
- */
-Evas_Object *
-termio_textgrid_get(Evas_Object *obj EINA_UNUSED)
-{
-   return NULL;
-}
 /* }}} */
 
 

-- 


Reply via email to