mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
bsc: Do not use strdup on argv parameter
Fixes: Coverity CID 1206578
This commit is contained in:
@@ -116,7 +116,7 @@ static void handle_options(int argc, char **argv)
|
||||
daemonize = 1;
|
||||
break;
|
||||
case 'c':
|
||||
config_file = strdup(optarg);
|
||||
config_file = optarg;
|
||||
break;
|
||||
case 'T':
|
||||
log_set_print_timestamp(osmo_stderr_target, 1);
|
||||
|
Reference in New Issue
Block a user