/[smeserver]/rpms/php/sme8/php-5.3.3-setdate.patch
ViewVC logotype

Contents of /rpms/php/sme8/php-5.3.3-setdate.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Dec 16 10:46:47 2013 UTC (10 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: php-5_3_3-14_el5_sme, php-5_3_3-17_el5_sme, php-5_3_3-15_el5_sme, php-5_3_3-16_el5_sme, HEAD
* Mon Dec 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 5.3.3-14.sme
- Resync with upstream php53, which include:
- add security fix for CVE-2013-6420
- add security fix for CVE-2013-4248
- add upstream reproducer for error_handler (#951075)
- add security fixes for CVE-2006-7243
- add security fixes for CVE-2012-2688, CVE-2012-0831,
  CVE-2011-1398, CVE-2013-1643
- fix segfault in error_handler with
  allow_call_time_pass_reference = Off (#951075)
- fix double free when destroy_zend_class fails (#951076)
- fix possible buffer overflow in pdo_odbc (#869694)
- php script hangs when it exceeds max_execution_time
  when inside an ODBC call (#864954)
- fix zend garbage collector (#892695)
- fix transposed memset arguments in libzip (#953818)
- fix possible segfault in pdo_mysql (#869693)
- fix imap_open DISABLE_AUTHENTICATOR param ignores array (#859369)
- fix stream support in fileinfo (#869697)
- fix setDate when DateTime created from timestamp (#869691)
- fix permission on source files (#869688)
- add php(language) and missing provides (#837044)
-
- fix copy doesn't report failure on partial copy (#951413)

1 https://bugzilla.redhat.com/812819
2 https://bugs.php.net/52290
3 setDate, setISODate, setTime works wrong when DateTime created from timestamp
4
5 http://svn.php.net/viewvc?view=revision&revision=302890
6 http://svn.php.net/viewvc?view=revision&revision=307853
7
8 diff -up php-5.3.3/ext/date/lib/tm2unixtime.c.orig php-5.3.3/ext/date/lib/tm2unixtime.c
9 --- php-5.3.3/ext/date/lib/tm2unixtime.c.orig 2012-10-04 17:36:43.132279043 +0200
10 +++ php-5.3.3/ext/date/lib/tm2unixtime.c 2012-10-04 17:37:04.205283971 +0200
11 @@ -444,6 +444,7 @@ void timelib_update_ts(timelib_time* tim
12 time->sse = res;
13
14 time->sse_uptodate = 1;
15 + time->have_relative = time->relative.have_weekday_relative = time->relative.have_special_relative = 0;
16 }
17
18 #if 0
19 diff -up php-5.3.3/ext/date/php_date.c.orig php-5.3.3/ext/date/php_date.c
20 --- php-5.3.3/ext/date/php_date.c.orig 2012-10-04 17:01:59.600706244 +0200
21 +++ php-5.3.3/ext/date/php_date.c 2012-10-04 19:51:08.545207379 +0200
22 @@ -3061,6 +3061,7 @@ PHP_FUNCTION(date_isodate_set)
23 dateobj->time->y = y;
24 dateobj->time->m = 1;
25 dateobj->time->d = 1;
26 + memset(&dateobj->time->relative, 0, sizeof(dateobj->time->relative));
27 dateobj->time->relative.d = timelib_daynr_from_weeknr(y, w, d);
28 dateobj->time->have_relative = 1;
29

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed