diff --git a/src/stkutil.c b/src/stkutil.c index ab33c7de..8aee8f7d 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -565,7 +565,7 @@ static gboolean parse_dataobj_text(struct comprehension_tlv_iter *iter, const unsigned char *data; char *utf8; - if (len == 0) { + if (len <= 1) { *text = g_try_malloc0(1); return TRUE; }