Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mm-modem-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -4585,8 +4585,8 @@ mm_3gpp_parse_iccid (const char *raw_iccid, GError **error)
goto error;
}

/* ICCIDs are 19 or 20 digits long */
if (len < 19 || len > 20) {
/* ICCIDs are 18 to 22 digits long */
if (len < 18 || len > 22) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
"Invalid ICCID response size (was %zd, expected 19 or 20)",
len);
Expand Down