mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
fixed endless loop when parsing backslash inside bad configuration file
This commit is contained in:
parent
14b41cf29b
commit
abd7316ac8
1 changed files with 1 additions and 0 deletions
|
|
@ -813,6 +813,7 @@ static int get_string(char **string, int id, input_t *input)
|
||||||
case '}':
|
case '}':
|
||||||
case '[':
|
case '[':
|
||||||
case ']':
|
case ']':
|
||||||
|
case '\\':
|
||||||
return LOCAL_UNEXPECTED_CHAR;
|
return LOCAL_UNEXPECTED_CHAR;
|
||||||
case '\'':
|
case '\'':
|
||||||
case '"':
|
case '"':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue