mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +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:
@@ -364,7 +364,7 @@ void ast_variable_insert(struct ast_category *category, struct ast_variable *var
|
||||
int lineno;
|
||||
int insertline;
|
||||
|
||||
if (!variable || sscanf(line, "%d", &insertline) != 1) {
|
||||
if (!variable || sscanf(line, "%30d", &insertline) != 1) {
|
||||
return;
|
||||
}
|
||||
if (!insertline) {
|
||||
|
Reference in New Issue
Block a user