mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -735,7 +735,7 @@ static char *show_codec_n(struct ast_cli_entry *e, int cmd, struct ast_cli_args
|
||||
if (a->argc != 4)
|
||||
return CLI_SHOWUSAGE;
|
||||
|
||||
if (sscanf(a->argv[3],"%d",&codec) != 1)
|
||||
if (sscanf(a->argv[3], "%30d", &codec) != 1)
|
||||
return CLI_SHOWUSAGE;
|
||||
|
||||
for (i = 0; i < 32; i++)
|
||||
|
Reference in New Issue
Block a user