]> granicus.if.org Git - php/log
php
11 years agomissing colon
Anatol Belski [Mon, 10 Jun 2013 17:54:29 +0000 (19:54 +0200)]
missing colon

11 years agoBackported the fix for bug #53437
Anatol Belski [Mon, 10 Jun 2013 17:48:18 +0000 (19:48 +0200)]
Backported the fix for bug #53437

11 years agoFixed test script
Dmitry Stogov [Mon, 10 Jun 2013 08:53:19 +0000 (12:53 +0400)]
Fixed test script

11 years agoFixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)
Xinchen Hui [Sun, 9 Jun 2013 14:24:48 +0000 (22:24 +0800)]
Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)

11 years agoFixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC)
Xinchen Hui [Sun, 9 Jun 2013 05:20:40 +0000 (13:20 +0800)]
Fixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC)

11 years agoFixed bug #64934 Apache2 TS crash with get_browser()
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.

11 years agoAdd NEWS for PHP 5.3.26
Johannes Schlüter [Wed, 5 Jun 2013 14:34:18 +0000 (16:34 +0200)]
Add NEWS for PHP 5.3.26

11 years agoFixed bug #64960 (Segfault in gc_zval_possible_root)
Xinchen Hui [Wed, 5 Jun 2013 09:25:00 +0000 (17:25 +0800)]
Fixed bug #64960 (Segfault in gc_zval_possible_root)

11 years agofix CVE-2013-2110 - use correct formula to calculate string size
Stanislav Malyshev [Mon, 20 May 2013 07:43:29 +0000 (00:43 -0700)]
fix CVE-2013-2110 - use correct formula to calculate string size

11 years agoClean up leftover test files
Matteo Beccati [Sun, 2 Jun 2013 11:38:43 +0000 (13:38 +0200)]
Clean up leftover test files

11 years agoFixed bug #64609 (pg_convert enum type support)
Matteo Beccati [Sun, 2 Jun 2013 04:29:35 +0000 (06:29 +0200)]
Fixed bug #64609 (pg_convert enum type support)

11 years agoFixed bug #62857 (bytea test failures)
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.

11 years agoMerge branch 'pull-request/309' into PHP-5.3
Matteo Beccati [Fri, 31 May 2013 14:26:38 +0000 (16:26 +0200)]
Merge branch 'pull-request/309' into PHP-5.3

11 years agoNEWS
Matteo Beccati [Fri, 31 May 2013 14:22:53 +0000 (16:22 +0200)]
NEWS

11 years agoSlightly edited tests and fix for bug #62024
Matteo Beccati [Fri, 31 May 2013 14:19:58 +0000 (16:19 +0200)]
Slightly edited tests and fix for bug #62024

11 years agoFixed bug #62024 (unable to run consecutive prepared querys with null values)
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.

11 years agoFixed bug #64037 (wrong value returned when using a negative numeric field equal...
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)

11 years agoFixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
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).

11 years agoFixed incorrect argument number
Dmitry Stogov [Wed, 29 May 2013 07:09:55 +0000 (11:09 +0400)]
Fixed incorrect argument number

11 years agoThis will be PHP 5.3.27
Johannes Schlüter [Wed, 22 May 2013 15:13:17 +0000 (17:13 +0200)]
This will be PHP 5.3.27

11 years agoFixed bug #64895 Integer overflow in SndToJewish
Remi Collet [Wed, 22 May 2013 06:28:05 +0000 (08:28 +0200)]
Fixed bug #64895 Integer overflow in SndToJewish

11 years agofix order
Stanislav Malyshev [Wed, 22 May 2013 06:25:35 +0000 (23:25 -0700)]
fix order

11 years agoDon't double-quote name of namespaced function.
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.

11 years agoInteger overflow in SndToJewish leads to php hang
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.

11 years agoentry for #64214
Pierre Joye [Fri, 17 May 2013 09:49:13 +0000 (11:49 +0200)]
entry for #64214

11 years agoother fix for #64214, unmodified file may not have old fp set, causing other possible...
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

11 years agoFix unitialized vars when sql.safe_mode=1
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

11 years agomore check for php_stream_fopen_tmpfile failure
Pierre Joye [Tue, 14 May 2013 14:45:11 +0000 (16:45 +0200)]
more check for php_stream_fopen_tmpfile failure

11 years agophp_stream_fopen_tmpfile may file, causing any following stream usage to crash
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

11 years agofix heap overflow warnings on win x64 debug crt
Anatol Belski [Mon, 13 May 2013 12:24:21 +0000 (14:24 +0200)]
fix heap overflow warnings on win x64 debug crt

11 years agoFixed bug #64821 Custom Exceptions crash when internal properties overridden
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.

11 years agoPHP 5.3.25 NEWS
Johannes Schlüter [Wed, 8 May 2013 16:01:39 +0000 (18:01 +0200)]
PHP 5.3.25 NEWS

11 years agobetter fix for bug #64770
Anatol Belski [Sat, 4 May 2013 10:16:38 +0000 (12:16 +0200)]
better fix for bug #64770

11 years agoMerge branch 'PHP-5.3' of https://git.php.net/push/php-src into PHP-5.3
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

11 years agoFixed 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

11 years agoMerge branch 'PHP-5.3' of https://git.php.net/push/php-src into PHP-5.3
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
  ...

11 years agoNEWS
Remi Collet [Fri, 3 May 2013 06:29:56 +0000 (08:29 +0200)]
NEWS

11 years agoFrom code coverity scan, syscall return value must be check.
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.

11 years agofix more resource leaks
Remi Collet [Thu, 2 May 2013 11:47:24 +0000 (13:47 +0200)]
fix more resource leaks

11 years agoFrom code coverity scan
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)

11 years agofixed size array cannot be null
Remi Collet [Thu, 2 May 2013 08:32:45 +0000 (10:32 +0200)]
fixed size array cannot be null

11 years agouse limit_extensions as we use security_limit_extensions later (free)
Remi Collet [Thu, 2 May 2013 08:15:12 +0000 (10:15 +0200)]
use limit_extensions as we use security_limit_extensions later (free)

11 years agounused variable
Remi Collet [Thu, 2 May 2013 08:15:05 +0000 (10:15 +0200)]
unused variable

11 years agofix possible null deref (detected by code coverity scan)
Remi Collet [Thu, 2 May 2013 07:38:00 +0000 (09:38 +0200)]
fix possible null deref (detected by code coverity scan)

11 years agoAlso fixed bug #64726 in 5.3
Xinchen Hui [Sat, 27 Apr 2013 15:49:43 +0000 (23:49 +0800)]
Also fixed bug #64726 in 5.3

11 years agoFix memory realted to #64726
Xinchen Hui [Sat, 27 Apr 2013 15:36:56 +0000 (23:36 +0800)]
Fix memory realted to #64726

11 years agoFix Test Bug #64714
Matt Ficken [Thu, 25 Apr 2013 18:34:57 +0000 (11:34 -0700)]
Fix Test Bug #64714

11 years agoPHP 5.3.26 this will be
Johannes Schlüter [Thu, 25 Apr 2013 16:02:53 +0000 (18:02 +0200)]
PHP 5.3.26 this will be

11 years agoFix NEWS
Johannes Schlüter [Thu, 25 Apr 2013 15:58:02 +0000 (17:58 +0200)]
Fix NEWS

11 years agoFix bug #64458 (dns_get_record result with string of length -1)
Stanislav Malyshev [Wed, 24 Apr 2013 04:42:15 +0000 (21:42 -0700)]
Fix bug #64458 (dns_get_record result with string of length -1)

11 years agoFixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_stat...
Dmitry Stogov [Tue, 23 Apr 2013 19:43:23 +0000 (23:43 +0400)]
Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.

11 years agoFixed stream_socket_pair() on Windows x64 and
Anatol Belski [Mon, 22 Apr 2013 16:53:52 +0000 (18:53 +0200)]
Fixed stream_socket_pair() on Windows x64 and

improved errorhandling in the socketpair() implementation.

11 years ago- Updated to version 2013.3 (2013c)
Derick Rethans [Mon, 22 Apr 2013 16:51:41 +0000 (17:51 +0100)]
- Updated to version 2013.3 (2013c)

11 years agolower the limit, should fit in a byte
Andrey Hristov [Fri, 19 Apr 2013 13:54:35 +0000 (15:54 +0200)]
lower the limit, should fit in a byte

11 years agoupdated lib versions
Anatol Belski [Wed, 17 Apr 2013 11:12:18 +0000 (13:12 +0200)]
updated lib versions

11 years agoallow lcov 1.10
Nuno Lopes [Sat, 13 Apr 2013 20:56:30 +0000 (16:56 -0400)]
allow lcov 1.10

11 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Anatol Belski [Wed, 10 Apr 2013 18:50:57 +0000 (20:50 +0200)]
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3

11 years agoFixed bug #64342 ZipArchive::addFile() has to check for file existence
Anatol Belski [Wed, 10 Apr 2013 18:39:17 +0000 (20:39 +0200)]
Fixed bug #64342 ZipArchive::addFile() has to check for file existence

11 years agoadd external 2.1 detection and fix gd_compat for 2.1+
Pierre Joye [Wed, 10 Apr 2013 18:12:25 +0000 (20:12 +0200)]
add external 2.1 detection and fix gd_compat for 2.1+

11 years agoPHP 5.3.24 release date
Johannes Schlüter [Wed, 10 Apr 2013 07:41:21 +0000 (09:41 +0200)]
PHP 5.3.24 release date

11 years agofix possible NULL deref
Pierre Joye [Tue, 9 Apr 2013 08:09:17 +0000 (10:09 +0200)]
fix possible NULL deref

11 years agofix null deref
Pierre Joye [Tue, 9 Apr 2013 08:04:01 +0000 (10:04 +0200)]
fix null deref

11 years agoFixed bugs #47675 and #64577 (fd leak on Solaris)
Rasmus Lerdorf [Fri, 5 Apr 2013 02:15:52 +0000 (19:15 -0700)]
Fixed bugs #47675 and #64577 (fd leak on Solaris)

11 years agono tab here
Xinchen Hui [Thu, 4 Apr 2013 06:52:27 +0000 (14:52 +0800)]
no tab here

11 years agoFixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)
Xinchen Hui [Thu, 4 Apr 2013 06:34:11 +0000 (14:34 +0800)]
Fixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)

11 years agoFix test
Xinchen Hui [Mon, 1 Apr 2013 10:12:16 +0000 (18:12 +0800)]
Fix test

11 years agoExclude Travis build for 5.3 and 5.4
Nikita Popov [Thu, 28 Mar 2013 17:40:57 +0000 (18:40 +0100)]
Exclude Travis build for 5.3 and 5.4

11 years agoThis will PHP 5.3.25
Johannes Schlüter [Thu, 28 Mar 2013 14:05:46 +0000 (15:05 +0100)]
This will PHP 5.3.25

11 years agoFixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properl...
Dmitry Stogov [Mon, 25 Mar 2013 11:07:27 +0000 (15:07 +0400)]
Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properly). (Jeff Welch)

11 years agoIt's 2013, even for a manpage
Johannes Schlüter [Sun, 24 Mar 2013 16:31:29 +0000 (17:31 +0100)]
It's 2013, even for a manpage

11 years agoReworked the changes for bug #64452
Anatol Belski [Sat, 23 Mar 2013 19:57:59 +0000 (20:57 +0100)]
Reworked the changes for bug #64452

11 years agoFixed possible precision loss in microtime
Anatol Belski [Sat, 23 Mar 2013 16:40:06 +0000 (17:40 +0100)]
Fixed possible precision loss in microtime

This is related to the fix for bug #64370. MSVC natively supports __int64 type,
so calculating with 32 bit ints is neither necessary nor reliable. Therefore
an older piece of code is reused.

11 years agoFixed bug #64452 Zip PHPTs crash intermittently
Anatol Belski [Wed, 20 Mar 2013 08:10:10 +0000 (09:10 +0100)]
Fixed bug #64452 Zip PHPTs crash intermittently

11 years agoBackported fix for bug #62852
Anatol Belski [Tue, 19 Mar 2013 20:19:55 +0000 (21:19 +0100)]
Backported fix for bug #62852

11 years agoFixed bug #62343 (Show class_alias In get_declared_classes())
Dmitry Stogov [Tue, 19 Mar 2013 10:56:53 +0000 (14:56 +0400)]
Fixed bug #62343 (Show class_alias In get_declared_classes())

11 years agofix NEWS
Stanislav Malyshev [Mon, 18 Mar 2013 07:52:15 +0000 (00:52 -0700)]
fix NEWS

11 years agoRemove spurious int cast in between two longs
Etienne Kneuss [Sat, 16 Mar 2013 17:19:14 +0000 (18:19 +0100)]
Remove spurious int cast in between two longs

11 years agoBackported patch for #64370
Anatol Belski [Fri, 15 Mar 2013 18:04:40 +0000 (19:04 +0100)]
Backported patch for #64370

11 years agoexplain the step updating the git submodule reference in web/php.git
Ferenc Kovacs [Fri, 15 Mar 2013 08:40:28 +0000 (09:40 +0100)]
explain the step updating the git submodule reference in web/php.git

11 years agofix zts check
Anatol Belski [Thu, 14 Mar 2013 13:38:20 +0000 (14:38 +0100)]
fix zts check

11 years agofix for bug #63530 mysqlnd_stmt::bind_one_parameter uses wrong alloc for stmt-...
Andrey Hristov [Wed, 13 Mar 2013 12:37:51 +0000 (13:37 +0100)]
fix for bug  #63530  mysqlnd_stmt::bind_one_parameter uses wrong alloc for stmt->param_bind

11 years agofixed headers order
Anatol Belski [Tue, 12 Mar 2013 07:33:36 +0000 (08:33 +0100)]
fixed headers order

11 years ago- Updated to version 2013.2 (2013b)
Derick Rethans [Mon, 11 Mar 2013 21:36:36 +0000 (21:36 +0000)]
- Updated to version 2013.2 (2013b)

11 years agoFixed PCRE locale crash in Windows/TS
Stephen A. Zarkos [Mon, 4 Mar 2013 08:09:45 +0000 (09:09 +0100)]
Fixed PCRE locale crash in Windows/TS

11 years agorename NEWS back
Stanislav Malyshev [Sun, 3 Mar 2013 21:18:58 +0000 (13:18 -0800)]
rename NEWS back

11 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Anatol Belski [Sun, 3 Mar 2013 18:21:45 +0000 (19:21 +0100)]
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3

* 'PHP-5.3' of git.php.net:php-src:
  Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.

11 years agoupdated NEWS
Anatol Belski [Sun, 3 Mar 2013 18:13:38 +0000 (19:13 +0100)]
updated NEWS

11 years agoRename to create a NEWS file per version to fix the annoying merging issue with NEWS...
Derick Rethans [Sun, 3 Mar 2013 18:08:19 +0000 (13:08 -0500)]
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.

11 years agomerged PCRE 8.32
Anatol Belski [Sun, 3 Mar 2013 18:06:22 +0000 (19:06 +0100)]
merged PCRE 8.32

- defined HAVE_CONFIG_H to simplify the future merges
- PCRE NEWS http://pcre.org/news.txt

11 years ago- Updated to version 2013.1 (2013a)
Derick Rethans [Sun, 3 Mar 2013 17:53:22 +0000 (12:53 -0500)]
- Updated to version 2013.1 (2013a)

11 years agoFixed timestamp update on Phar contents modification.
Dmitry Stogov [Fri, 1 Mar 2013 15:17:08 +0000 (19:17 +0400)]
Fixed timestamp update on Phar contents modification.

11 years ago5.4.24-dev
Stanislav Malyshev [Fri, 1 Mar 2013 05:25:36 +0000 (21:25 -0800)]
5.4.24-dev

11 years ago5.3.23RC1 php-5.3.23RC1
Stanislav Malyshev [Fri, 1 Mar 2013 05:22:06 +0000 (21:22 -0800)]
5.3.23RC1

11 years agoBug #52861: unset fails with ArrayObject and deep arrays
Mike Willbanks [Fri, 22 Feb 2013 21:05:38 +0000 (13:05 -0800)]
Bug #52861: unset fails with ArrayObject and deep arrays

When checking to make into a reference write, readwrite are checked but not unset

11 years agoFixed bug #64264 (SPLFixedArray toArray problem)
Xinchen Hui [Sun, 24 Feb 2013 04:55:46 +0000 (12:55 +0800)]
Fixed bug #64264 (SPLFixedArray toArray problem)

11 years agoFix TSRM (after afc1debb)
Johannes Schlüter [Thu, 21 Feb 2013 14:08:58 +0000 (15:08 +0100)]
Fix TSRM (after afc1debb)

11 years agoPHAR should modify entry timestamp when it's modified
Dmitry Stogov [Thu, 21 Feb 2013 11:55:20 +0000 (15:55 +0400)]
PHAR should modify entry timestamp when it's modified

11 years agohttp-stream test requires network connectivity
Sara Golemon [Thu, 21 Feb 2013 11:21:23 +0000 (03:21 -0800)]
http-stream test requires network connectivity

11 years agoupdated lib versions
Anatol Belski [Thu, 21 Feb 2013 08:46:50 +0000 (09:46 +0100)]
updated lib versions

11 years agoFixed external entity loading
Dmitry Stogov [Wed, 20 Feb 2013 18:14:59 +0000 (22:14 +0400)]
Fixed external entity loading