---
 src/stkutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/stkutil.c b/src/stkutil.c
index abd1c99..66b2924 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -308,7 +308,7 @@ static gboolean parse_dataobj_alpha_id(struct 
comprehension_tlv_iter *iter,
        char *utf8;
 
        len = comprehension_tlv_iter_get_length(iter);
-       if (len == 0) {
+       if (len <= 1) {
                *alpha_id = g_try_malloc0(1);
                return TRUE;
        }
-- 
1.7.0.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to