public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: remi <fedora@famillecollet.com>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: security patch from upstream for #660517 (CVE-2010-4409)
Date: Fri, 27 Nov 2026 07:24:29 GMT	[thread overview]
Message-ID: <179576426992.1.3637514612233549159.rpms-php-06b47842368c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 06b47842368ca7b6dc3f293353ef9b02c876abfa
Author : remi <fedora@famillecollet.com>
Date   : 2010-12-12T15:57:34+01:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/06b47842368ca7b6dc3f293353ef9b02c876abfa?branch=private-php86

Log:
security patch from upstream for #660517 (CVE-2010-4409)

---
diff --git a/php-5.3.4-cve.patch b/php-5.3.4-cve.patch
new file mode 100644
index 0000000..70643b0
--- /dev/null
+++ b/php-5.3.4-cve.patch
@@ -0,0 +1,14 @@
+--- php/php-src/branches/PHP_5_3/ext/intl/formatter/formatter_attr.c	2010/12/10 00:37:31	306153
++++ php/php-src/branches/PHP_5_3/ext/intl/formatter/formatter_attr.c	2010/12/10 00:47:51	306154
+@@ -311,6 +311,11 @@
+ 
+ 		RETURN_FALSE;
+ 	}
++	
++	if (symbol >= UNUM_FORMAT_SYMBOL_COUNT || symbol < 0) {
++		intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR,	"numfmt_set_symbol: invalid symbol value", 0 TSRMLS_CC );
++		RETURN_FALSE;
++	}
+ 
+ 	/* Fetch the object. */
+ 	FORMATTER_METHOD_FETCH_OBJECT;

diff --git a/php.spec b/php.spec
index dd512d2..dc393a6 100644
--- a/php.spec
+++ b/php.spec
@@ -27,7 +27,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.3.4
-Release: 1%{?dist}
+Release: 1%{?dist}.1
 License: PHP
 Group: Development/Languages
 URL: http://www.php.net/
@@ -62,6 +62,10 @@ Patch42: php-5.3.1-systzdata-v7.patch
 # See http://bugs.php.net/53436
 Patch43: php-5.3.4-phpize.patch
 
+# Security patch from upstream SVN
+# http://svn.php.net/viewvc?view=revision&revision=306154
+Patch50: php-5.3.4-cve.patch
+
 # Fixes for tests
 Patch61: php-5.0.4-tests-wddx.patch
 
@@ -480,6 +484,8 @@ support for using the enchant library to PHP.
 %patch42 -p1 -b .systzdata
 %patch43 -p0 -b .headers
 
+%patch50 -p4 -b .cve
+
 %patch61 -p1 -b .tests-wddx
 
 # Prevent %%doc confusion over LICENSE files
@@ -970,6 +976,9 @@ fi
 %files enchant -f files.enchant
 
 %changelog
+* Sun Dec 12 2010 Remi Collet <rpms@famillecollet.com> 5.3.4-1.1
+- security patch from upstream for #660517
+
 * Sat Dec 11 2010 Remi Collet <Fedora@famillecollet.com> 5.3.4-1
 - update to 5.3.4
   http://www.php.net/ChangeLog-5.php#5.3.4

                 reply	other threads:[~2026-11-27  7:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576426992.1.3637514612233549159.rpms-php-06b47842368c@fedoraproject.org \
    --to=fedora@famillecollet.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox