AST-2009-005
[asterisk/asterisk.git] / main / enum.c
index c8ff67e..416bb90 100644 (file)
@@ -114,7 +114,7 @@ static int cclen(const char *number)
 
        strncpy(digits, number, 2);
        
-       if (!sscanf(digits, "%d", &cc)) {
+       if (!sscanf(digits, "%30d", &cc)) {
                return 0;
        }