dovecot-2.2: lib-http: Fixed bug in parsing of quoted string wit...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 1 21:11:59 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/3e0e4dd7fb65
changeset: 17548:3e0e4dd7fb65
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Jul 01 23:24:08 2014 +0300
description:
lib-http: Fixed bug in parsing of quoted string with escape sequences.

diffstat:

 src/lib-http/http-parser.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 2be0234cef8e -r 3e0e4dd7fb65 src/lib-http/http-parser.c
--- a/src/lib-http/http-parser.c	Tue Jul 01 16:04:20 2014 +0300
+++ b/src/lib-http/http-parser.c	Tue Jul 01 23:24:08 2014 +0300
@@ -175,6 +175,7 @@
 			if (parser->cur >= parser->end || !http_char_is_text(*parser->cur))
 				return -1;
 			str_append_c(str, *parser->cur);
+			parser->cur++;
 
 		/* ERROR */
 		} else {


More information about the dovecot-cvs mailing list