]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed endless loop when parsing backslash inside bad configuration file
authorJaroslav Kysela <perex@perex.cz>
Wed, 8 Sep 2004 16:43:17 +0000 (16:43 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 8 Sep 2004 16:43:17 +0000 (16:43 +0000)
src/conf.c

index 6c142197b713cd887a081e81d13617214705e913..786554c26942c0401c9d4f5f1144a000aecd1f13 100644 (file)
@@ -813,6 +813,7 @@ static int get_string(char **string, int id, input_t *input)
        case '}':
        case '[':
        case ']':
+       case '\\':
                return LOCAL_UNEXPECTED_CHAR;
        case '\'':
        case '"':