]>
granicus.if.org Git - php/log
Stanislav Malyshev [Sun, 27 Jul 2014 09:40:27 +0000 (02:40 -0700)]
Fix missing type checks in various functions
Stanislav Malyshev [Fri, 18 Jul 2014 23:49:00 +0000 (16:49 -0700)]
update NEWS
Stanislav Malyshev [Sun, 22 Jun 2014 02:46:16 +0000 (19:46 -0700)]
Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
Conflicts:
ext/spl/spl_array.c
ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
Xinchen Hui [Sun, 1 Jun 2014 11:41:01 +0000 (19:41 +0800)]
Fixed bug #67359 (Segfault in recursiveDirectoryIterator)
Stanislav Malyshev [Wed, 11 Jun 2014 06:17:30 +0000 (23:17 -0700)]
Fix bug #66127 (Segmentation fault with ArrayObject unset)
Stanislav Malyshev [Tue, 24 Jun 2014 18:21:43 +0000 (11:21 -0700)]
Fix test - because of big #67397 we don't allow overlong locales anymore
Stanislav Malyshev [Sun, 8 Jun 2014 20:44:40 +0000 (13:44 -0700)]
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
Stanislav Malyshev [Wed, 4 Jun 2014 08:06:01 +0000 (01:06 -0700)]
Fix bug #67349: Locale::parseLocale Double Free
Stanislav Malyshev [Mon, 9 Jun 2014 06:00:38 +0000 (23:00 -0700)]
Fixed bug #67399 (putenv with empty variable may lead to crash)
Conflicts:
ext/standard/basic_functions.c
Remi Collet [Tue, 10 Jun 2014 12:33:37 +0000 (14:33 +0200)]
Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec
Upstream:
https://github.com/file/file/commit/
93e063ee374b6a75729df9e7201fb511e47e259d
Adapted for C standard.
Remi Collet [Tue, 10 Jun 2014 12:22:04 +0000 (14:22 +0200)]
Bug #67412 fileinfo: cdf_count_chain insufficient boundary check
Upstream:
https://github.com/file/file/commit/
40bade80cbe2af1d0b2cd0420cebd5d5905a2382
Remi Collet [Tue, 10 Jun 2014 12:13:14 +0000 (14:13 +0200)]
Fixed Bug #67411 fileinfo: cdf_check_stream_offset insufficient boundary check
Upstream:
https://github.com/file/file/commit/
36fadd29849b8087af9f4586f89dbf74ea45be67
Conflicts:
ext/fileinfo/libmagic/cdf.c
Remi Collet [Tue, 10 Jun 2014 12:02:36 +0000 (14:02 +0200)]
Fixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string size
Upstream
https://github.com/file/file/commit/
27a14bc7ba285a0a5ebfdb55e54001aa11932b08
Stanislav Malyshev [Mon, 23 Jun 2014 07:19:37 +0000 (00:19 -0700)]
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Remi Collet [Tue, 3 Jun 2014 09:05:00 +0000 (11:05 +0200)]
Fix bug #67326 fileinfo: cdf_read_short_sector insufficient boundary check
Upstream fix https://github.com/file/file/commit/
6d209c1c489457397a5763bca4b28e43aac90391 .patch
Only revelant part applied
Stanislav Malyshev [Mon, 12 May 2014 04:09:11 +0000 (21:09 -0700)]
fix bug #67253: timelib_meridian_with_check out-of-bounds read
Conflicts:
ext/date/lib/parse_date.c
Stanislav Malyshev [Mon, 12 May 2014 03:29:27 +0000 (20:29 -0700)]
Fix bug #67252: convert_uudecode out-of-bounds read
Stanislav Malyshev [Mon, 12 May 2014 02:09:19 +0000 (19:09 -0700)]
Fix bug #67250 (iptcparse out-of-bounds read)
Stanislav Malyshev [Mon, 12 May 2014 00:54:27 +0000 (17:54 -0700)]
Fix bug #67247 spl_fixedarray_resize integer overflow
Stanislav Malyshev [Tue, 27 May 2014 00:50:14 +0000 (17:50 -0700)]
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)
Upstream patch: https://github.com/file/file/commit/
b8acc83781d5a24cc5101e525d15efe0482c280d
Stanislav Malyshev [Tue, 27 May 2014 00:42:18 +0000 (17:42 -0700)]
Fix bug #67327: fileinfo: CDF infinite loop in nelements DoS
Upstream fix: https://github.com/file/file/commit/
f97486ef5dc3e8735440edc4fc8808c63e1a3ef0
Anatol Belski [Thu, 24 Apr 2014 17:50:23 +0000 (19:50 +0200)]
backport this piece from 5.6, related to the #66307 fix
Conflicts:
ext/fileinfo/libmagic/readcdf.c
Anatol Belski [Thu, 24 Apr 2014 17:30:34 +0000 (19:30 +0200)]
Fixed bug #66307 Fileinfo crashes with powerpoint files
Conflicts:
ext/fileinfo/libmagic/readcdf.c
ext/fileinfo/tests/finfo_file_002.phpt
Remi Collet [Wed, 27 Nov 2013 10:13:16 +0000 (11:13 +0100)]
Fixed bug #66060 (Heap buffer over-read in DateInterval)
Conflicts:
ext/date/lib/parse_iso_intervals.c
Stanislav Malyshev [Sun, 8 Dec 2013 23:37:35 +0000 (15:37 -0800)]
Fix bug #65873 - Integer overflow in exif_read_data()
Xinchen Hui [Sun, 25 Nov 2012 03:45:36 +0000 (11:45 +0800)]
let make test report the run-test result
Stanislav Malyshev [Mon, 12 May 2014 02:34:21 +0000 (19:34 -0700)]
Fix bug #67251 - date_parse_from_format out-of-bounds read
Conflicts:
ext/date/lib/parse_date.c
ext/date/lib/parse_date.re
Stanislav Malyshev [Mon, 12 May 2014 01:44:14 +0000 (18:44 -0700)]
Fix bug #67249: printf out-of-bounds read
Sara Golemon [Tue, 10 Jun 2014 18:18:02 +0000 (11:18 -0700)]
Fix potential segfault in dns_get_record()
If the remote sends us a packet with a malformed TXT record,
we could end up trying to over-consume the packet and wander
off into overruns.
Remi Collet [Fri, 6 Jun 2014 12:16:04 +0000 (14:16 +0200)]
Fix bug #67390 insecure temporary file use in the configure script
Stanislav Malyshev [Mon, 19 May 2014 06:42:30 +0000 (23:42 -0700)]
fix typo in ODBC code
Stanislav Malyshev [Tue, 15 Apr 2014 17:43:24 +0000 (10:43 -0700)]
Fix bug #67060: use default mode of 660
Ferenc Kovacs [Fri, 24 Jan 2014 15:06:58 +0000 (16:06 +0100)]
fix the primary qa email address and update the list of available people being able to add moderators to our lists
Will Fitch [Sun, 19 Jan 2014 18:02:20 +0000 (13:02 -0500)]
Revert "Fix #62479: Some chars not parsed in passwords"
This reverts commit
e6bb90c66a5306f3db7ca38206b27685177a65cc .
Will Fitch [Sun, 19 Jan 2014 00:24:22 +0000 (19:24 -0500)]
Fix #62479: Some chars not parsed in passwords
This fixes an issue where backslashes and spaces aren't
correctly parsed for passwords.
Julien Pauli [Fri, 13 Dec 2013 12:16:54 +0000 (13:16 +0100)]
Updated release process
Anatol Belski [Wed, 11 Dec 2013 12:31:29 +0000 (13:31 +0100)]
fix dir separator in cve-2013-6420 test
Stanislav Malyshev [Tue, 10 Dec 2013 19:32:11 +0000 (11:32 -0800)]
5.3.29-dev
Stanislav Malyshev [Sun, 8 Dec 2013 19:40:18 +0000 (11:40 -0800)]
Fix CVE-2013-6420 - memory corruption in openssl_x509_parse
Christopher Jones [Mon, 19 Aug 2013 17:53:41 +0000 (10:53 -0700)]
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
fix using wrong buffer pointer
Stanislav Malyshev [Mon, 19 Aug 2013 08:02:12 +0000 (01:02 -0700)]
fix using wrong buffer pointer
Stanislav Malyshev [Wed, 14 Aug 2013 05:20:33 +0000 (22:20 -0700)]
Fix CVE-2013-4073 - handling of certs with null bytes
Christopher Jones [Mon, 22 Jul 2013 17:58:52 +0000 (10:58 -0700)]
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
# By Johannes Schlüter
# Via Christopher Jones (1) and Johannes Schlüter (1)
* 'PHP-5.3' of https://git.php.net/repository/php-src:
Merge PHP 5.3.27 NEWS
add test for bug #65236
Christopher Jones [Wed, 10 Jul 2013 18:13:15 +0000 (11:13 -0700)]
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
Merge PHP 5.3.27 NEWS
add test for bug #65236
Johannes Schlüter [Wed, 10 Jul 2013 17:45:45 +0000 (19:45 +0200)]
Merge PHP 5.3.27 NEWS
Johannes Schlüter [Wed, 10 Jul 2013 17:35:18 +0000 (19:35 +0200)]
add test for bug #65236
Rob Richards [Sat, 6 Jul 2013 11:53:07 +0000 (07:53 -0400)]
truncate results at depth of 255 to prevent corruption
Nuno Lopes [Wed, 3 Jul 2013 22:02:28 +0000 (18:02 -0400)]
fix assembly of safe_address() for x86 and x86_64
Sebastian Bergmann [Wed, 3 Jul 2013 04:36:54 +0000 (06:36 +0200)]
Add bison 2.6.4 to the list of supported versions
Johannes Schlüter [Thu, 20 Jun 2013 09:51:21 +0000 (11:51 +0200)]
Update git rules (5.5 is stable, 5.3 sec only)
Johannes Schlüter [Wed, 19 Jun 2013 13:08:02 +0000 (15:08 +0200)]
This will be PHP 5.3.28
Matteo Beccati [Fri, 14 Jun 2013 14:51:54 +0000 (16:51 +0200)]
Fixed bug #63186 (compile failure on netbsd)
Anatol Belski [Wed, 12 Jun 2013 11:13:48 +0000 (13:13 +0200)]
ensure the error_reporting level to get expected notice
Anatol Belski [Tue, 11 Jun 2013 10:38:49 +0000 (12:38 +0200)]
fixed tests
Anatol Belski [Tue, 11 Jun 2013 09:19:57 +0000 (11:19 +0200)]
missing tests for bug #53437
Anatol Belski [Mon, 10 Jun 2013 17:54:29 +0000 (19:54 +0200)]
missing colon
Anatol Belski [Mon, 10 Jun 2013 17:48:18 +0000 (19:48 +0200)]
Backported the fix for bug #53437
Dmitry Stogov [Mon, 10 Jun 2013 08:53:19 +0000 (12:53 +0400)]
Fixed test script
Xinchen Hui [Sun, 9 Jun 2013 14:24:48 +0000 (22:24 +0800)]
Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)
Xinchen Hui [Sun, 9 Jun 2013 05:20:40 +0000 (13:20 +0800)]
Fixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC)
Anatol Belski [Thu, 6 Jun 2013 16:49:04 +0000 (18:49 +0200)]
Fixed bug #64934 Apache2 TS crash with get_browser()
In favour of reading the browscap.ini into a true global var
only once in MINIT, the price for that is to deep copy the
any data from it.
Johannes Schlüter [Wed, 5 Jun 2013 14:34:18 +0000 (16:34 +0200)]
Add NEWS for PHP 5.3.26
Xinchen Hui [Wed, 5 Jun 2013 09:25:00 +0000 (17:25 +0800)]
Fixed bug #64960 (Segfault in gc_zval_possible_root)
Stanislav Malyshev [Mon, 20 May 2013 07:43:29 +0000 (00:43 -0700)]
fix CVE-2013-2110 - use correct formula to calculate string size
Matteo Beccati [Sun, 2 Jun 2013 11:38:43 +0000 (13:38 +0200)]
Clean up leftover test files
Matteo Beccati [Sun, 2 Jun 2013 04:29:35 +0000 (06:29 +0200)]
Fixed bug #64609 (pg_convert enum type support)
Matteo Beccati [Sat, 1 Jun 2013 21:15:48 +0000 (23:15 +0200)]
Fixed bug #62857 (bytea test failures)
Postgres 9.1+ test fixes. Tests were failing due to the default
standard_conforming_strings GUC being changed to on. Also the
pg_escape_bytea test was encoding the data before estabilishing
a connection, thus falling back to the old escaping type which
isn't properly handled by the backend when using a default
configuration.
I haven't updated the NEWS file as it's just test fixes.
Matteo Beccati [Fri, 31 May 2013 14:26:38 +0000 (16:26 +0200)]
Merge branch 'pull-request/309' into PHP-5.3
Matteo Beccati [Fri, 31 May 2013 14:22:53 +0000 (16:22 +0200)]
NEWS
Matteo Beccati [Fri, 31 May 2013 14:19:58 +0000 (16:19 +0200)]
Slightly edited tests and fix for bug #62024
Matheus Degiovani [Fri, 22 Mar 2013 13:39:36 +0000 (10:39 -0300)]
Fixed bug #62024 (unable to run consecutive prepared querys with null values)
Credits to james@kenjim.com for the patch.
Matheus Degiovani [Fri, 22 Mar 2013 13:24:07 +0000 (10:24 -0300)]
Fixed bug #64037 (wrong value returned when using a negative numeric field equal to the scale)
Remi Collet [Fri, 31 May 2013 06:39:32 +0000 (08:39 +0200)]
Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
There is a lot of call such as:
pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, "Copy command failed");
Where the 3rd paramater is a error message string where a sqlstate (5 chars)
is expected. This cause a segfault in copy_from.phpt and copy_to.phpt.
This is only a sanity check to avoid buffer overflow, but obviously this
calls need to be fixed (using NULL or a correct sqlstate).
Dmitry Stogov [Wed, 29 May 2013 07:09:55 +0000 (11:09 +0400)]
Fixed incorrect argument number
Johannes Schlüter [Wed, 22 May 2013 15:13:17 +0000 (17:13 +0200)]
This will be PHP 5.3.27
Remi Collet [Wed, 22 May 2013 06:28:05 +0000 (08:28 +0200)]
Fixed bug #64895 Integer overflow in SndToJewish
Stanislav Malyshev [Wed, 22 May 2013 06:25:35 +0000 (23:25 -0700)]
fix order
Sara Golemon [Sun, 19 May 2013 20:32:17 +0000 (13:32 -0700)]
Don't double-quote name of namespaced function.
ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info)
was resulting in a function declaration of:
ns\"zend_name"()
including the errant quotes.
This diff corrects that. There are currently no uses of ZEND_NS_NAMED_FE
in core and reason to believe that there are no uses in the wild either.
Remi Collet [Tue, 21 May 2013 16:04:17 +0000 (18:04 +0200)]
Integer overflow in SndToJewish leads to php hang
AT least in (inputDay is long, metonicCycle is int):
metonicCycle = (inputDay + 310) / 6940;
So large value give strange (negative) results or php hangs.
This is patch already applied in some linux distro.
Pierre Joye [Fri, 17 May 2013 09:49:13 +0000 (11:49 +0200)]
entry for #64214
Pierre Joye [Fri, 17 May 2013 09:45:13 +0000 (11:45 +0200)]
other fix for #64214, unmodified file may not have old fp set, causing other possible crashes
Anatol Belski [Wed, 15 May 2013 09:12:17 +0000 (11:12 +0200)]
Fix unitialized vars when sql.safe_mode=1
which can break the subsequent mysqlnd_connect() call
Pierre Joye [Tue, 14 May 2013 14:45:11 +0000 (16:45 +0200)]
more check for php_stream_fopen_tmpfile failure
Pierre Joye [Tue, 14 May 2013 07:20:53 +0000 (09:20 +0200)]
php_stream_fopen_tmpfile may file, causing any following stream usage to crash
Anatol Belski [Mon, 13 May 2013 12:24:21 +0000 (14:24 +0200)]
fix heap overflow warnings on win x64 debug crt
Anatol Belski [Sun, 12 May 2013 12:00:32 +0000 (14:00 +0200)]
Fixed bug #64821 Custom Exceptions crash when internal properties overridden
If user inherits Exception and overrides the properties to arbitrary data types,
or simply doesn't run parent::__construct(), here we go. Just convert everything
to the appropriate data type, like Exception::__toString() does.
Johannes Schlüter [Wed, 8 May 2013 16:01:39 +0000 (18:01 +0200)]
PHP 5.3.25 NEWS
Anatol Belski [Sat, 4 May 2013 10:16:38 +0000 (12:16 +0200)]
better fix for bug #64770
Boris Lytochkin [Fri, 3 May 2013 15:23:46 +0000 (19:23 +0400)]
Merge branch 'PHP-5.3' of https://git.php.net/push/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/push/php-src:
Fixed bug #64770 stream_select() fails with pipes
Anatol Belski [Fri, 3 May 2013 15:01:33 +0000 (17:01 +0200)]
Fixed bug #64770 stream_select() fails with pipes
returned by proc_open() on Windows x64
Boris Lytochkin [Fri, 3 May 2013 07:21:48 +0000 (11:21 +0400)]
Merge branch 'PHP-5.3' of https://git.php.net/push/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/push/php-src: (39 commits)
NEWS
From code coverity scan, syscall return value must be check.
fix more resource leaks
From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
fixed size array cannot be null
use limit_extensions as we use security_limit_extensions later (free)
unused variable
fix possible null deref (detected by code coverity scan)
Also fixed bug #64726 in 5.3
Fix memory realted to #64726
Fix Test Bug #64714
PHP 5.3.26 this will be
Fix NEWS
Fix bug #64458 (dns_get_record result with string of length -1)
Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.
Fixed stream_socket_pair() on Windows x64 and
- Updated to version 2013.3 (2013c)
lower the limit, should fit in a byte
updated lib versions
allow lcov 1.10
...
Remi Collet [Fri, 3 May 2013 06:29:56 +0000 (08:29 +0200)]
NEWS
Remi Collet [Fri, 3 May 2013 06:19:14 +0000 (08:19 +0200)]
From code coverity scan, syscall return value must be check.
To not alter current behaviour, we simply log the problem,
so, if it occurs, the message will give explanation.
This are only warning as they don't block the server,
but such fail can explain strange (not expected) behaviour later.
Remi Collet [Thu, 2 May 2013 11:47:24 +0000 (13:47 +0200)]
fix more resource leaks
Remi Collet [Thu, 2 May 2013 11:27:16 +0000 (13:27 +0200)]
From code coverity scan
- fix some memory leak
- fix some resources leak (fd)
- create fpm_worker_pool_free (shared use)
- possible null dref (wp->user and wp->home can be null)
Remi Collet [Thu, 2 May 2013 08:32:45 +0000 (10:32 +0200)]
fixed size array cannot be null
Remi Collet [Thu, 2 May 2013 08:15:12 +0000 (10:15 +0200)]
use limit_extensions as we use security_limit_extensions later (free)
Remi Collet [Thu, 2 May 2013 08:15:05 +0000 (10:15 +0200)]
unused variable
Remi Collet [Thu, 2 May 2013 07:38:00 +0000 (09:38 +0200)]
fix possible null deref (detected by code coverity scan)
Xinchen Hui [Sat, 27 Apr 2013 15:49:43 +0000 (23:49 +0800)]
Also fixed bug #64726 in 5.3