billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=93eb6e666311d90f8ea47802ebf2382fee863de7
commit 93eb6e666311d90f8ea47802ebf2382fee863de7 Author: Boris Faure <[email protected]> Date: Tue Nov 8 21:15:42 2016 +0100 termiolink: check return of ty_sb_prepend(). CID1365659 --- src/bin/termiolink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c index afbd7c9..86d0bfc 100644 --- a/src/bin/termiolink.c +++ b/src/bin/termiolink.c @@ -239,7 +239,8 @@ termio_link_find(Evas_Object *obj, int cx, int cy, goback = EINA_FALSE; goforward = EINA_TRUE; } - ty_sb_prepend(&sb, txt, txtlen); + res = ty_sb_prepend(&sb, txt, txtlen); + if (res < 0) goto end; if (isspace(sb.buf[0])) { int old_txtlen = txtlen; --
