mirror of git://git.sysmocom.de/ofono
stkutil: alpha id objects can be NULL
ETSI 102.223 doesn't mention that alpha id objects can be NULL, however such objects exist in the 102.384 test specification.
This commit is contained in:
parent
353d955dea
commit
edcd03e570
|
@ -281,8 +281,8 @@ static gboolean parse_dataobj_alpha_id(struct comprehension_tlv_iter *iter,
|
|||
char *utf8;
|
||||
|
||||
len = comprehension_tlv_iter_get_length(iter);
|
||||
if (len < 1)
|
||||
return FALSE;
|
||||
if (len == 0)
|
||||
return TRUE;
|
||||
|
||||
data = comprehension_tlv_iter_get_data(iter);
|
||||
utf8 = sim_string_to_utf8(data, len);
|
||||
|
|
Loading…
Reference in New Issue