From e77697a135fda9b9d45c06997e0cfc0d154976a6 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 26 May 2014 10:48:07 +0000 Subject: [PATCH] Resize an array in parse_http_request() to the appropriate size --- urlmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urlmatch.c b/urlmatch.c index 14de337b..57c538ea 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1,4 +1,4 @@ -const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.79 2013/11/24 14:25:55 fabiankeil Exp $"; +const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.80 2013/11/24 14:47:45 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $ @@ -489,7 +489,7 @@ static int unknown_method(const char *method) jb_err parse_http_request(const char *req, struct http_request *http) { char *buf; - char *v[10]; /* XXX: Why 10? We should only need three. */ + char *v[3]; int n; jb_err err; -- 2.49.0