From fea057f6474ed94062cf3cbf4ad096bba62d6832 Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 10 Aug 2009 20:14:34 +0000 Subject: Changes to make 1.4.26 into 1.4.26.1 git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.26.1@211596 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_random.c') diff --git a/apps/app_random.c b/apps/app_random.c index 8484f656d..0d036413d 100644 --- a/apps/app_random.c +++ b/apps/app_random.c @@ -71,7 +71,7 @@ static int random_exec(struct ast_channel *chan, void *data) s = ast_strdupa(data); prob = strsep(&s,":"); - if ((!prob) || (sscanf(prob, "%d", &probint) != 1)) + if ((!prob) || (sscanf(prob, "%30d", &probint) != 1)) probint = 0; if (!deprecated) { -- cgit v1.2.3