diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 19:12:35 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 19:12:35 +0000 |
commit | 248d8c804f87e0405ec66454fe7e0e30db14bb8d (patch) | |
tree | 872527e87b8284baaa5d1ab1d447a5551fac6cb0 /channel.c | |
parent | 6684417af1a95717df6f035c0eb6d4242c2d799a (diff) |
AST-2009-005
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@211526 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3875,9 +3875,9 @@ ast_group_t ast_get_group(char *s) c = copy; while((piece = strsep(&c, ","))) { - if (sscanf(piece, "%d-%d", &start, &finish) == 2) { + if (sscanf(piece, "%30d-%30d", &start, &finish) == 2) { /* Range */ - } else if (sscanf(piece, "%d", &start)) { + } else if (sscanf(piece, "%30d", &start)) { /* Just one */ finish = start; } else { |