From: Jaroslav Kysela Date: Wed, 8 Sep 2004 16:43:17 +0000 (+0000) Subject: fixed endless loop when parsing backslash inside bad configuration file X-Git-Tag: v1.0.7~26 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=abd7316ac844cacb630f8139f163e2d28d2935e7;p=alsa-lib.git fixed endless loop when parsing backslash inside bad configuration file --- diff --git a/src/conf.c b/src/conf.c index 6c142197..786554c2 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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 '"':