From ae8234de9398302a81d5454031d7c1dff46bd3c6 Mon Sep 17 00:00:00 2001 From: Cliff Frey Date: Mon, 1 Feb 2010 21:48:09 -0800 Subject: [PATCH] Prevent uninitialized variable use --- http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.c b/http_parser.c index 95afa18..8b65b45 100644 --- a/http_parser.c +++ b/http_parser.c @@ -262,7 +262,7 @@ size_t http_parser_execute (http_parser *parser, size_t len) { char c, ch; - const char *p, *pe; + const char *p = data, *pe; ssize_t to_read; enum state state = parser->state;