mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
Handle syntax errors in group descriptions more gracefully (bug #3330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2904,8 +2904,8 @@ unsigned int ast_get_group(char *s)
|
||||
/* Just one */
|
||||
finish = start;
|
||||
} else {
|
||||
ast_log(LOG_ERROR, "Syntax error parsing '%s' at '%s'. Using '0'\n", s,piece);
|
||||
return 0;
|
||||
ast_log(LOG_ERROR, "Syntax error parsing '%s' at '%s'.\n", s, piece);
|
||||
continue;
|
||||
}
|
||||
for (x=start;x<=finish;x++) {
|
||||
if ((x > 31) || (x < 0)) {
|
||||
|
||||
Reference in New Issue
Block a user