iliaa Wed Jan 28 21:18:18 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/sapi/apache2handler sapi_apache2.c
Log:
MFH: Fixed bug #27037 (fixed possible crash in apache2handler output code).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.548&r2=1.1247.2.549&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.548 php-src/NEWS:1.1247.2.549
--- php-src/NEWS:1.1247.2.548 Wed Jan 28 19:11:41 2004
+++ php-src/NEWS Wed Jan 28 21:18:16 2004
@@ -1,6 +1,7 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Jan 2004, Version 4.3.5
+- Changed allow_url_fopen ini option to be PHP_INI_STSTEM. (Sara)
- Improved the sybase_ct module: (Timm)
. Added ability to define a message handler not only globally, but also per
connection.
@@ -12,6 +13,7 @@
(Ilia)
- Fixed bug #27040 (passing an array of form-fields to CURLOPT_POSTFIELDS
does not work). (Ilia, Jani)
+- Fixed bug #27037 (fixed possible crash in apache2handler output code). (Ilia)
- Fixed bug #27011 (64bit int/long confusion in preg_match*() functions).
(Ilia)
- Fixed bug #26974 (rename() doesn't check the destination file against
@@ -41,7 +43,6 @@
- Fixed bug #22403 (PHP crashes when executing a sql procedure without
parameters). (Timm)
- Fixed bug #21513 (shutdown functions not executed if timed out). (Zeev)
-- Changed allow_url_fopen ini option to be PHP_INI_STSTEM. (Sara)
12 Jan 2004, Version 4.3.5RC1
- Synchronized bundled GD library with GD 2.0.17
http://cvs.php.net/diff.php/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.24&r2=1.1.2.25&ty=u
Index: php-src/sapi/apache2handler/sapi_apache2.c
diff -u php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.24
php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.25
--- php-src/sapi/apache2handler/sapi_apache2.c:1.1.2.24 Fri Dec 12 12:19:17 2003
+++ php-src/sapi/apache2handler/sapi_apache2.c Wed Jan 28 21:18:17 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.1.2.24 2003/12/12 17:19:17 iliaa Exp $ */
+/* $Id: sapi_apache2.c,v 1.1.2.25 2004/01/29 02:18:17 iliaa Exp $ */
#include <fcntl.h>
@@ -81,7 +81,7 @@
r = ctx->r;
brigade = ctx->brigade;
- copy_str = apr_pmemdup( r->pool, str, str_length+1);
+ copy_str = apr_pmemdup( r->pool, str, str_length);
bucket = apr_bucket_pool_create(copy_str, str_length, r->pool,
r->connection->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(brigade, bucket);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php