Hello community,

here is the log from the commit of package php5 for openSUSE:Factory checked in 
at 2011-12-27 18:37:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php5 (Old)
 and      /work/SRC/openSUSE:Factory/.php5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php5", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/php5/php5.changes        2011-12-15 
16:07:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.php5.new/php5.changes   2011-12-27 
18:38:09.000000000 +0100
@@ -1,0 +2,17 @@
+Wed Dec 21 10:40:03 UTC 2011 - [email protected]
+
+- add autoconf as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Tue Dec 20 12:06:57 UTC 2011 - [email protected]
+
+- apache module conflicts with apache2-worker [bnc#728671]
+
+-------------------------------------------------------------------
+Fri Dec 16 13:31:56 UTC 2011 - [email protected]
+
+- security update:
+  * CVE-2011-4566 [bnc#733590]
+  * CVE-2011-1466 [bnc#736169]
+
+-------------------------------------------------------------------

New:
----
  php-5.3.8-CVE-2011-1466.patch
  php-5.3.8-CVE-2011-4566.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php5.spec ++++++
--- /var/tmp/diff_new_pack.E9fkcx/_old  2011-12-27 18:38:10.000000000 +0100
+++ /var/tmp/diff_new_pack.E9fkcx/_new  2011-12-27 18:38:10.000000000 +0100
@@ -25,6 +25,7 @@
 %define with_spell 1
 
 BuildRequires:  apache2-devel
+BuildRequires:  autoconf
 BuildRequires:  bison
 BuildRequires:  curl-devel
 BuildRequires:  db-devel
@@ -167,6 +168,8 @@
 Patch36:        php-5.3.8-crypt-tests.patch
 # related to previous patch; !(defined(_REENTRANT) || defined(_THREAD_SAFE))
 Patch37:        php-5.3.8-no-reentrant-crypt.patch
+Patch38:        php-5.3.8-CVE-2011-4566.patch
+Patch39:        php-5.3.8-CVE-2011-1466.patch
 Url:            http://www.php.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        PHP5 Core Files
@@ -251,6 +254,8 @@
 Requires:       apache2-prefork %{apache2_mmn} %{name} = %{version}
 PreReq:         apache2
 Conflicts:      apache2-mod_php4
+# see bnc#728671
+Conflicts:      apache2-worker
 Provides:       mod_php_any php-xml php-spl php-simplexml php-session php-pcre 
php-date php-reflection php-filter
 
 %description -n apache2-mod_php5
@@ -1280,6 +1285,8 @@
 %patch35
 %patch36
 %patch37
+%patch38
+%patch39
 # Safety check for API version change.
 vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
 if test "x${vapi}" != "x%{apiver}"; then


++++++ php-5.3.8-CVE-2011-1466.patch ++++++
http://svn.php.net/viewvc/?view=revision&revision=306475
http://svn.php.net/viewvc/?view=revision&revision=317360
http://svn.php.net/viewvc/?view=revision&revision=317387

Index: ext/calendar/gregor.c
===================================================================
--- ext/calendar/gregor.c.orig
+++ ext/calendar/gregor.c
@@ -127,6 +127,7 @@
  **************************************************************************/
 
 #include "sdncal.h"
+#include <limits.h>
 
 #define GREGOR_SDN_OFFSET         32045
 #define DAYS_PER_5_MONTHS  153
@@ -146,21 +147,12 @@ void SdnToGregorian(
        long int temp;
        int dayOfYear;
 
-       if (sdn <= 0) {
-               *pYear = 0;
-               *pMonth = 0;
-               *pDay = 0;
-               return;
+       if (sdn <= 0 ||
+                       sdn > (LONG_MAX - 4 * GREGOR_SDN_OFFSET) / 4) {
+               goto fail;
        }
        temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1;
 
-       if (temp < 0) {
-               *pYear = 0;
-               *pMonth = 0;
-               *pDay = 0;
-               return;
-       }
-
        /* Calculate the century (year/100). */
        century = temp / DAYS_PER_400_YEARS;
 
@@ -190,6 +182,10 @@ void SdnToGregorian(
        *pYear = year;
        *pMonth = month;
        *pDay = day;
+fail:
+       *pYear = 0;
+       *pMonth = 0;
+       *pDay = 0;
 }
 
 long int GregorianToSdn(
++++++ php-5.3.8-CVE-2011-4566.patch ++++++
http://svn.php.net/viewvc/?view=revision&amp;revision=319535
--- ext/exif/exif.c     2011/11/19 04:41:03     319534
+++ ext/exif/exif.c     2011/11/19 04:49:36     319535
@@ -2874,11 +2874,11 @@
                offset_val = php_ifd_get32u(dir_entry+8, 
ImageInfo->motorola_intel);
                /* If its bigger than 4 bytes, the dir entry contains an 
offset. */
                value_ptr = offset_base+offset_val;
-               if (offset_val+byte_count > IFDlength || value_ptr < dir_entry) 
{
+               if (byte_count > IFDlength || offset_val > IFDlength-byte_count 
|| value_ptr < dir_entry) {
                        /* It is important to check for IMAGE_FILETYPE_TIFF
                         * JPEG does not use absolute pointers instead its 
pointers are
                         * relative to the start of the TIFF header in APP1 
section. */
-                       if (offset_val+byte_count>ImageInfo->FileSize || 
(ImageInfo->FileType!=IMAGE_FILETYPE_TIFF_II && 
ImageInfo->FileType!=IMAGE_FILETYPE_TIFF_MM && 
ImageInfo->FileType!=IMAGE_FILETYPE_JPEG)) {
+                       if (byte_count > ImageInfo->FileSize || 
offset_val>ImageInfo->FileSize-byte_count || 
(ImageInfo->FileType!=IMAGE_FILETYPE_TIFF_II && 
ImageInfo->FileType!=IMAGE_FILETYPE_TIFF_MM && 
ImageInfo->FileType!=IMAGE_FILETYPE_JPEG)) {
                                if (value_ptr < dir_entry) {
                                        /* we can read this if offset_val > 0 */
                                        /* some files have their values in 
other parts of the file */

++++++ php-suse-addons.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/php-suse-addons/README.SUSE 
new/php-suse-addons/README.SUSE
--- old/php-suse-addons/README.SUSE     2005-02-09 15:40:33.000000000 +0100
+++ new/php-suse-addons/README.SUSE     2011-12-20 15:41:52.000000000 +0100
@@ -41,6 +41,7 @@
 Enabling/disabling the PHP5 module for Apache
 =============================================
 
+ - do not use PHP module with Apache Worker
  - in /etc/sysconfig/apache2, add "php5" to APACHE_MODULES,
    or remove it to disable
  - possibly include /etc/apache2/conf.d/mod_php5.conf in individual virtual

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to