coverity fixes
This commit is contained in:
1 parent
bb9cf8ec40
commit
99a82cf7d2
2 files changed
+2
-7
No files matched your search
@@ -655,6 +655,8 @@ int CmdTraceListAlias(const char *Cmd, const char *alias, const char *protocol)
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
char args[128] = {0};
|
||||
snprintf(args, sizeof(args), "-t %s ", protocol);
|
||||
strncat(args, Cmd, sizeof(args) - strlen(args) - 1);
|
||||
|
||||
Reference in new issue
Block a user