Skip to content

Commit

Permalink
issue: 2681317 fix nullpointer dereference found by cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
agalanin-at-nvidia authored and igor-ivanov committed Dec 24, 2021
1 parent 7fb8c54 commit e92a870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockperf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,7 @@ static int parse_common_opt(const AOPT_OBJECT *common_obj) {
}
}
} else {
log_msg("'-%d' Invalid address: %s", OPT_MC_SOURCE_IP, optarg);
log_msg("'-%d' value is expected", OPT_MC_SOURCE_IP);
rc = SOCKPERF_ERR_BAD_ARGUMENT;
}
}
Expand Down

0 comments on commit e92a870

Please sign in to comment.