AST-2009-005
[asterisk/asterisk.git] / apps / app_alarmreceiver.c
index 47e894b..6589ec3 100644 (file)
@@ -124,7 +124,7 @@ static void database_increment( char *key )
                return;
        }
        
-       sscanf(value, "%u", &v);
+       sscanf(value, "%30u", &v);
        v++;
 
        ast_verb(4, "AlarmReceiver: New value for %s: %u\n", key, v);