From: Stephan Bosch Date: Tue, 1 Jul 2014 20:24:08 +0000 (+0300) Subject: lib-http: Fixed bug in parsing of quoted string with escape sequences. X-Git-Tag: 2.2.14.rc1~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aefccddf68a92e43209aea013a36d0d7d374f410;p=thirdparty%2Fdovecot%2Fcore.git lib-http: Fixed bug in parsing of quoted string with escape sequences. --- diff --git a/src/lib-http/http-parser.c b/src/lib-http/http-parser.c index 961cc2ca02..fea8dc128d 100644 --- a/src/lib-http/http-parser.c +++ b/src/lib-http/http-parser.c @@ -175,6 +175,7 @@ int http_parse_quoted_string(struct http_parser *parser, const char **str_r) if (parser->cur >= parser->end || !http_char_is_text(*parser->cur)) return -1; str_append_c(str, *parser->cur); + parser->cur++; /* ERROR */ } else {