sgsnemu: relax check on length of IMSI cmdline arg.
Change-Id: I0374ff8773ae528c916fbee5f3f1efd89a5d2a08
This commit is contained in:
parent
23c832bb4b
commit
568ac5ee8e
|
@ -492,7 +492,7 @@ static int process_options(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* imsi */
|
||||
if (strlen(args_info.imsi_arg) != 15) {
|
||||
if (strlen(args_info.imsi_arg) < 6 || strlen(args_info.imsi_arg) > 15) {
|
||||
printf("Invalid IMSI\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue