Hello community, here is the log from the commit of package php5 checked in at Sun May 7 16:30:53 CEST 2006. -------- --- php5/php5.changes 2006-04-12 16:54:30.000000000 +0200 +++ STABLE/php5/php5.changes 2006-05-03 15:19:00.000000000 +0200 @@ -1,0 +2,8 @@ +Wed May 3 15:16:05 CEST 2006 - postadal@suse.cz + +- fixed completely broken SplTempFileObject [php#37257] + (phpbug-37257.patch) +- fixed problem with with $_POST array [php#37276] + (phpbug-37276.patch) + +------------------------------------------------------------------- New: ---- php-5.1.2-phpbug-37257.patch php-5.1.2-phpbug-37276.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php5.spec ++++++ --- /var/tmp/diff_new_pack.u0TjZ9/_old 2006-05-07 16:30:12.000000000 +0200 +++ /var/tmp/diff_new_pack.u0TjZ9/_new 2006-05-07 16:30:12.000000000 +0200 @@ -30,7 +30,7 @@ ### ### Version: 5.1.2 -Release: 21 +Release: 28 License: Other uncritical OpenSource License, Other License(s), see package Group: Productivity/Networking/Web/Servers Provides: php zend php-xml php-spl php-simplexml php-session php-pcre @@ -86,6 +86,8 @@ Patch47: php-%{version}-CVE-2006-0996.patch Patch48: php-%{version}-CVE-2006-1490.patch Patch49: php-%{version}-CVE-2006-1017.patch +Patch50: php-%{version}-phpbug-37257.patch +Patch51: php-%{version}-phpbug-37276.patch URL: http://www.php.net BuildRoot: %{_tmppath}/%{name}-%{version}-build Icon: php5.xpm @@ -1465,6 +1467,8 @@ %patch47 %patch48 %patch49 +%patch50 +%patch51 # we build three SAPI mkdir -p build-apache2 mkdir -p build-fastcgi/sapi/cgi/libfcgi @@ -2003,6 +2007,11 @@ %config(noreplace) %{php_sysconf}/conf.d/zlib.ini %changelog -n php5 +* Wed May 03 2006 - postadal@suse.cz +- fixed completely broken SplTempFileObject [php#37257] + (phpbug-37257.patch) +- fixed problem with with $_POST array [php#37276] + (phpbug-37276.patch) * Wed Apr 12 2006 - postadal@suse.cz - fixed security problem in copy() and tempname() [#164845] (CVE-2006-1494-1608.patch) ++++++ php-5.1.2-phpbug-37257.patch ++++++ --- ext/standard/php_fopen_wrapper.c 2006/01/01 12:50:15 1.45.2.3 +++ ext/standard/php_fopen_wrapper.c 2006/05/01 16:02:07 1.45.2.4 @@ -158,9 +158,29 @@ int mode_rw = 0; php_stream * stream = NULL; char *p, *token, *pathdup; + long max_memory; - if (!strncasecmp(path, "php://", 6)) + if (!strncasecmp(path, "php://", 6)) { path += 6; + } + + if (!strncasecmp(path, "temp", 4)) { + path += 4; + max_memory = PHP_STREAM_MAX_MEM; + if (!strncasecmp(path, "/maxmemory:", 11)) { + path += 11; + max_memory = strtol(path, NULL, 10); + if (max_memory < 0) { + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Max memory must be >= 0"); + return NULL; + } + } + return php_stream_temp_create(TEMP_STREAM_DEFAULT, max_memory); + } + + if (!strcasecmp(path, "memory")) { + return php_stream_memory_create(TEMP_STREAM_DEFAULT); + } if (!strcasecmp(path, "output")) { return php_stream_alloc(&php_stream_output_ops, NULL, 0, "wb"); ++++++ php-5.1.2-phpbug-37276.patch ++++++ --- main/php_variables.c 2006/04/18 06:58:54 1.126 +++ main/php_variables.c 2006/05/03 11:24:51 1.127 @@ -177,7 +177,7 @@ is_array = 1; *ip = 0; } else { - is_array = 0; + goto plain_var; } } } else { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de