[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-cvs
Subject: cvs commit: httpd-2.0 CHANGES
From: jorton () apache ! org
Date: 2004-01-30 13:13:31
Message-ID: 20040130131331.80929.qmail () minotaur ! apache ! org
[Download RAW message or body]
jorton 2004/01/30 05:13:31
Modified: modules/http Tag: APACHE_2_0_BRANCH http_protocol.c
. Tag: APACHE_2_0_BRANCH CHANGES
Log:
* modules/http/http_protocol.c (ap_make_method_list): Fix possible
memory corruption.
Submitted by: Jeff Trawick
Reviewed by: Joe Orton, André Malo
Revision Changes Path
No revision
No revision
1.463.2.9 +1 -1 httpd-2.0/modules/http/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
retrieving revision 1.463.2.8
retrieving revision 1.463.2.9
diff -b -d -u -r1.463.2.8 -r1.463.2.9
--- http_protocol.c 7 Jan 2004 02:49:46 -0000 1.463.2.8
+++ http_protocol.c 30 Jan 2004 13:13:30 -0000 1.463.2.9
@@ -2470,7 +2470,7 @@
ml = (ap_method_list_t *) apr_palloc(p, sizeof(ap_method_list_t));
ml->method_mask = 0;
- ml->method_list = apr_array_make(p, sizeof(char *), nelts);
+ ml->method_list = apr_array_make(p, nelts, sizeof(char *));
return ml;
}
No revision
No revision
1.988.2.227 +3 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.988.2.226
retrieving revision 1.988.2.227
diff -b -d -u -r1.988.2.226 -r1.988.2.227
--- CHANGES 30 Jan 2004 13:03:22 -0000 1.988.2.226
+++ CHANGES 30 Jan 2004 13:13:30 -0000 1.988.2.227
@@ -1,5 +1,8 @@
Changes with Apache 2.0.49
+ *) Build array of allowed methods with proper dimensions, fixing
+ possible memory corruption. [Jeff Trawick]
+
*) mod_ssl: Fix potential segfault on lookup of SSL_SESSION_ID.
PR 15057. [Otmar Lendl <lendl nic.at>]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic