From ed406c4579035894ca04362a2dcf9c468db42548 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Tue, 8 Nov 2016 21:17:48 +0100 Subject: [PATCH] termiolink: safety on ty being not NULL. CID1365660 --- src/bin/termiolink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c index 86d0bfcb..c810c653 100644 --- a/src/bin/termiolink.c +++ b/src/bin/termiolink.c @@ -212,6 +212,8 @@ termio_link_find(Evas_Object *obj, int cx, int cy, int txtlen = 0; Eina_Bool was_protocol = EINA_FALSE; + EINA_SAFETY_ON_NULL_RETURN_VAL(ty, NULL); + x1 = x2 = cx; y1 = y2 = cy; termio_size_get(obj, &w, &h);