mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +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:
@@ -82,7 +82,7 @@ static int waituntil_exec(struct ast_channel *chan, const char *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (sscanf(data, "%ld%lf", &seconds, &fraction) == 0) {
|
||||
if (sscanf(data, "%30ld%30lf", &seconds, &fraction) == 0) {
|
||||
ast_log(LOG_WARNING, "WaitUntil called with non-numeric argument\n");
|
||||
pbx_builtin_setvar_helper(chan, "WAITUNTILSTATUS", "FAILURE");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user