]> granicus.if.org Git - php/log
php
11 years agoWe can't dereference dbh if it is NULL
Johannes Schlüter [Sun, 23 Feb 2014 13:18:24 +0000 (14:18 +0100)]
We can't dereference dbh if it is NULL

11 years agoupdated libmagic.patch in 5.4/5
Anatol Belski [Thu, 20 Feb 2014 18:00:05 +0000 (19:00 +0100)]
updated libmagic.patch in 5.4/5

11 years agofixed leak introduced after CVE/upgrade
Anatol Belski [Thu, 20 Feb 2014 17:53:53 +0000 (18:53 +0100)]
fixed leak introduced after CVE/upgrade

11 years agoUse nicer output for characters < 32 and > 126 in exception strings
Bob Weinand [Thu, 20 Feb 2014 16:39:58 +0000 (17:39 +0100)]
Use nicer output for characters < 32 and > 126 in exception strings
Using question marks might confuse more than it helps.
Users are wondering what happened to their string...

11 years agoSkip failing tests when EC unavailable (RHEL)
Daniel Lowrey [Wed, 19 Feb 2014 10:57:37 +0000 (03:57 -0700)]
Skip failing tests when EC unavailable (RHEL)

11 years agoupdated libmagic.patch
Anatol Belski [Tue, 18 Feb 2014 18:08:16 +0000 (19:08 +0100)]
updated libmagic.patch

11 years agoupdate news with CVE
Stanislav Malyshev [Tue, 18 Feb 2014 16:36:51 +0000 (08:36 -0800)]
update news with CVE

11 years agoNEWS
Remi Collet [Tue, 18 Feb 2014 12:56:58 +0000 (13:56 +0100)]
NEWS

11 years agoFixed Bug #66731 file: infinite recursion
Remi Collet [Tue, 18 Feb 2014 12:54:33 +0000 (13:54 +0100)]
Fixed Bug #66731 file: infinite recursion

Upstream commit (available in file-5.17)

https://github.com/glensc/file/commit/3c081560c23f20b2985c285338b52c7aae9fdb0f
https://github.com/glensc/file/commit/cc9e74dfeca5265ad725acc926ef0b8d2a18ee70

11 years ago5.4.27 now
Stanislav Malyshev [Tue, 18 Feb 2014 05:19:25 +0000 (21:19 -0800)]
5.4.27 now

11 years agoupdate NEWS
Stanislav Malyshev [Tue, 18 Feb 2014 05:16:48 +0000 (21:16 -0800)]
update NEWS

11 years agoFixed broken build when EC unavailable
Daniel Lowrey [Mon, 17 Feb 2014 23:55:39 +0000 (18:55 -0500)]
Fixed broken build when EC unavailable

11 years agoUpdated NEWS for #65753
Julien Pauli [Mon, 17 Feb 2014 10:05:34 +0000 (11:05 +0100)]
Updated NEWS for #65753

11 years agoExport JsonSerializable Interface (bug #65753)
Julien Pauli [Mon, 17 Feb 2014 09:25:40 +0000 (10:25 +0100)]
Export JsonSerializable Interface (bug #65753)

11 years agoFixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()
Yasuo Ohgaki [Sun, 16 Feb 2014 01:45:15 +0000 (10:45 +0900)]
Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()

11 years agoRefactor build_tablename()
Yasuo Ohgaki [Sat, 15 Feb 2014 22:49:07 +0000 (07:49 +0900)]
Refactor build_tablename()

11 years agoRevise encoding blacklist
Yasuo Ohgaki [Sat, 15 Feb 2014 21:21:39 +0000 (06:21 +0900)]
Revise encoding blacklist

11 years ago- Fix ZTS build when HAVE_PQESCAPELITERAL is not set
Felipe Pena [Sat, 15 Feb 2014 13:04:49 +0000 (11:04 -0200)]
- Fix ZTS build when HAVE_PQESCAPELITERAL is not set

11 years agoUpdate NEWS
Yasuo Ohgaki [Sat, 15 Feb 2014 10:20:34 +0000 (19:20 +0900)]
Update NEWS

11 years agoRefactor and cleanup. WS is cleaned up. Use -b if it is needed.
Yasuo Ohgaki [Sat, 15 Feb 2014 07:31:43 +0000 (16:31 +0900)]
Refactor and cleanup. WS is cleaned up. Use -b if it is needed.
Added compatibility macros, PQescapeStringConn, PGSQLescapeLiteral/Identifier, PGSQLfree.

11 years agoUpdate NEWS
Daniel Lowrey [Sat, 15 Feb 2014 04:41:18 +0000 (21:41 -0700)]
Update NEWS

11 years agoFix for bug66501 - "key type not supported in this PHP build"
mk-j [Wed, 22 Jan 2014 19:58:44 +0000 (12:58 -0700)]
Fix for bug66501 - "key type not supported in this PHP build"

11 years agoa few typofixes
Veres Lajos [Fri, 14 Feb 2014 12:51:10 +0000 (14:51 +0200)]
a few typofixes

11 years agoReplace old SVN references to Git
Mats Lindh [Sun, 9 Feb 2014 19:17:26 +0000 (21:17 +0200)]
Replace old SVN references to Git

11 years agoupdate libs_version.txt
Anatol Belski [Thu, 6 Feb 2014 08:13:05 +0000 (09:13 +0100)]
update libs_version.txt

11 years agoFix year
Hannes Magnusson [Wed, 5 Feb 2014 18:15:11 +0000 (10:15 -0800)]
Fix year

11 years agoadapt test to curl 7.35.0 upgrade
Anatol Belski [Wed, 5 Feb 2014 14:15:34 +0000 (15:15 +0100)]
adapt test to curl 7.35.0 upgrade

which is a security one and should be performed as in
http://curl.haxx.se/docs/adv_20140129.html

11 years agotests still failing, so xfail for now until fixed
Stanislav Malyshev [Thu, 30 Jan 2014 01:40:39 +0000 (17:40 -0800)]
tests still failing, so xfail for now until fixed

11 years agoFixed bug data->fd not set to -1 for open_basedir failure.
Yasuo Ohgaki [Thu, 30 Jan 2014 05:15:29 +0000 (14:15 +0900)]
Fixed bug data->fd not set to -1 for open_basedir failure.

11 years agoFixed zend.multibyte tests partially
Yasuo Ohgaki [Wed, 29 Jan 2014 06:41:30 +0000 (15:41 +0900)]
Fixed zend.multibyte tests partially

11 years agoadd text for the new constants
Andrey Hristov [Tue, 28 Jan 2014 13:32:59 +0000 (15:32 +0200)]
add text for the new constants

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Andrey Hristov [Tue, 28 Jan 2014 13:23:54 +0000 (15:23 +0200)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

11 years agoadd new consts
Andrey Hristov [Tue, 28 Jan 2014 13:23:41 +0000 (15:23 +0200)]
add new consts

11 years agoFixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters defin...
Bob Weinand [Tue, 28 Jan 2014 12:31:52 +0000 (13:31 +0100)]
Fixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters definition.

11 years agoRemove obsolete description
Yasuo Ohgaki [Mon, 27 Jan 2014 09:41:31 +0000 (18:41 +0900)]
Remove obsolete description

11 years agoFix English and improve by Stas. Thanks :)
Yasuo Ohgaki [Sun, 26 Jan 2014 21:50:11 +0000 (06:50 +0900)]
Fix English and improve by Stas. Thanks :)

11 years agoUpdate source docs
Yasuo Ohgaki [Sun, 26 Jan 2014 09:31:27 +0000 (18:31 +0900)]
Update source docs

11 years agoRevert "Update source docs"
Yasuo Ohgaki [Sun, 26 Jan 2014 09:30:25 +0000 (18:30 +0900)]
Revert "Update source docs"

This reverts commit 10d06cd4ff3038d2f02a18936793969e7aee0bda.

11 years agoUpdate source docs
Yasuo Ohgaki [Sun, 26 Jan 2014 09:28:21 +0000 (18:28 +0900)]
Update source docs

11 years agodrop precision since trigonometric functions are non-portable
Stanislav Malyshev [Sun, 26 Jan 2014 23:14:16 +0000 (15:14 -0800)]
drop precision since trigonometric functions are non-portable

See: http://stackoverflow.com/questions/21212326/floating-point-arithmetic-and-reproducibility

11 years agoXFAIL multibyte tests until they are fixed (bug 66582)
Stanislav Malyshev [Sun, 26 Jan 2014 23:11:15 +0000 (15:11 -0800)]
XFAIL multibyte tests until they are fixed (bug 66582)

11 years agoMerge branch '45543-timezone-set' into PHP-5.4
Derick Rethans [Sun, 26 Jan 2014 13:02:19 +0000 (14:02 +0100)]
Merge branch '45543-timezone-set' into PHP-5.4

11 years agoFixed bug #45543: DateTime::setTimezone can not set timezones without ID.
Derick Rethans [Sun, 26 Jan 2014 12:58:13 +0000 (13:58 +0100)]
Fixed bug #45543: DateTime::setTimezone can not set timezones without ID.

11 years agofix test bug62479.phpt
Stanislav Malyshev [Sun, 26 Jan 2014 06:31:31 +0000 (22:31 -0800)]
fix test bug62479.phpt

11 years agoMerge branch 'pull-request/571' into PHP-5.4
Stanislav Malyshev [Sun, 26 Jan 2014 05:57:56 +0000 (21:57 -0800)]
Merge branch 'pull-request/571' into PHP-5.4

* pull-request/571:
  Implement ldap_modify_batch.

11 years agoMerge branch '44780-fallback' into PHP-5.4
Derick Rethans [Sat, 25 Jan 2014 15:15:50 +0000 (16:15 +0100)]
Merge branch '44780-fallback' into PHP-5.4

11 years agoFixed bug #44780: some time zone offsets not recognized by timezone_name_from_abbr.
Derick Rethans [Sat, 25 Jan 2014 15:14:51 +0000 (16:14 +0100)]
Fixed bug #44780: some time zone offsets not recognized by timezone_name_from_abbr.

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Ferenc Kovacs [Fri, 24 Jan 2014 15:07:29 +0000 (16:07 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix the primary qa email address and update the list of available people being able to add moderators to our lists
  Revert "Fix #62479: Some chars not parsed in passwords"
  Fix #62479: Some chars not parsed in passwords

11 years agofix the primary qa email address and update the list of available people being able...
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

11 years agoUpdate gitignore and Makefile for additional entries
Will Fitch [Fri, 24 Jan 2014 02:28:45 +0000 (21:28 -0500)]
Update gitignore and Makefile for additional entries

11 years agoImplement ldap_modify_batch.
Ondřej Hošek [Wed, 22 Jan 2014 17:54:11 +0000 (18:54 +0100)]
Implement ldap_modify_batch.

11 years agofixed test
Anatol Belski [Wed, 22 Jan 2014 14:39:49 +0000 (15:39 +0100)]
fixed test

11 years agofix zts
Anatol Belski [Wed, 22 Jan 2014 11:03:54 +0000 (12:03 +0100)]
fix zts

11 years agofixed missing usleep() prototype in pgsql
Anatol Belski [Wed, 22 Jan 2014 10:52:52 +0000 (11:52 +0100)]
fixed missing usleep() prototype in pgsql

11 years agoFixed previous commit may delete unwanted cookies. Sync tests from upper branches.
Yasuo Ohgaki [Wed, 22 Jan 2014 10:21:25 +0000 (19:21 +0900)]
Fixed previous commit may delete unwanted cookies. Sync tests from upper branches.

11 years agoRe-fixed bug #66469
Yasuo Ohgaki [Wed, 22 Jan 2014 04:40:58 +0000 (13:40 +0900)]
Re-fixed bug #66469

11 years agofix CVE ref for bug #66060
Stanislav Malyshev [Tue, 21 Jan 2014 21:26:56 +0000 (13:26 -0800)]
fix CVE ref for bug #66060

11 years ago5.4.26 next
Stanislav Malyshev [Tue, 21 Jan 2014 20:13:42 +0000 (12:13 -0800)]
5.4.26 next

11 years agofix news
Stanislav Malyshev [Tue, 21 Jan 2014 20:11:59 +0000 (12:11 -0800)]
fix news

11 years agofixed post deactivate signature in ext\libxml
Anatol Belski [Tue, 21 Jan 2014 16:08:59 +0000 (17:08 +0100)]
fixed post deactivate signature in ext\libxml

11 years agofix NEWS formatting
Johannes Schlüter [Tue, 21 Jan 2014 15:35:51 +0000 (16:35 +0100)]
fix NEWS formatting

11 years agoFix bug #66283 (Segmentation fault after memory_limit)
Johannes Schlüter [Tue, 21 Jan 2014 15:28:30 +0000 (16:28 +0100)]
Fix bug #66283 (Segmentation fault after memory_limit)

There are situations where mysqlnd dupliates zvals while freeing result
sets. If the memory_limit is reached during this operation the engine
will bailout. This patch makes sure that a later attempt (during
RSHIUTDOWN) won't cause a double free, instead we rely on the engine to
free emalloc()ed memory after bailout.

11 years agofix these tests so they properly clean up after themselves.
Ferenc Kovacs [Mon, 20 Jan 2014 17:04:35 +0000 (18:04 +0100)]
fix these tests so they properly clean up after themselves.

11 years agoUpdate NEWS for bug fix #62479
Will Fitch [Sun, 19 Jan 2014 18:12:06 +0000 (13:12 -0500)]
Update NEWS for bug fix #62479

11 years agoRevert "Fix #62479: Some chars not parsed in passwords"
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.

11 years agoEnable zend.multibyte tests. Tipcal configuration works, but most tests fail.
Yasuo Ohgaki [Sun, 19 Jan 2014 04:28:48 +0000 (13:28 +0900)]
Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.

11 years agoFix #62479: Some chars not parsed in passwords
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.

11 years agoFix #62479: Some chars not parsed in passwords
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.

11 years agoFix bug #66509: copy() arginfo incorrect since 5.4
Will Fitch [Sat, 18 Jan 2014 16:25:53 +0000 (11:25 -0500)]
Fix bug #66509: copy() arginfo incorrect since 5.4

Since 5.4, the ZEND_BEGIN_ARG_INFO_EX was replaced
by non _EX, causing Reflection to assume the
$context parameter is required.

11 years agoforked the test for bug #66481
Anatol Belski [Fri, 17 Jan 2014 02:30:42 +0000 (03:30 +0100)]
forked the test for bug #66481

11 years agoRe-fixed Bug #66481 (Calls to session_name() segfault when session.name is null)
Xinchen Hui [Thu, 16 Jan 2014 06:41:12 +0000 (14:41 +0800)]
Re-fixed Bug #66481 (Calls to session_name() segfault when session.name is null)

11 years agoRevert "Bug #66481 Segfaults on session_name()"
Xinchen Hui [Thu, 16 Jan 2014 06:38:35 +0000 (14:38 +0800)]
Revert "Bug #66481 Segfaults on session_name()"

This reverts commit 5662ffb295c6f9cb10768d8246f2656aae6b8abb.

11 years agoRevert "Update NEWS"
Xinchen Hui [Thu, 16 Jan 2014 06:38:22 +0000 (14:38 +0800)]
Revert "Update NEWS"

This reverts commit 8f5de8ddcf5fea43928cf2358b95f3de1ab5ade9.

11 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 16 Jan 2014 02:40:33 +0000 (11:40 +0900)]
Update NEWS

11 years agoBug #66481 Segfaults on session_name()
Conor McDermottroe [Tue, 14 Jan 2014 02:08:13 +0000 (02:08 +0000)]
Bug #66481 Segfaults on session_name()

If the previous value of session.name was NULL then any call to
session_name($string) would result in a segmentation fault.

This changes the behaviour to set the value of session.name to
"PHPSESSID" if a blank value is given in php.ini or via -d on the
command line. There is already protection against setting it to NULL via
session_name() or ini_set().

11 years agofixed EOL in the test
Anatol Belski [Thu, 9 Jan 2014 14:27:26 +0000 (15:27 +0100)]
fixed EOL in the test

11 years agoadded testcase from bug #65371
Anatol Belski [Thu, 9 Jan 2014 14:23:49 +0000 (15:23 +0100)]
added testcase from bug #65371

11 years agoone more extension for the basename test
Anatol Belski [Sun, 5 Jan 2014 18:19:54 +0000 (19:19 +0100)]
one more extension for the basename test

11 years agoimproved the fix for bug #66395
Anatol Belski [Sun, 5 Jan 2014 18:05:04 +0000 (19:05 +0100)]
improved the fix for bug #66395

- fixed the traverse vulnerability in case like c:d:file.txt
- ensure paths containing NTFS streams are still worky

11 years agoFix bug #66286: Incorrect object comparison with inheritance
Nikita Popov [Sat, 4 Jan 2014 00:22:14 +0000 (01:22 +0100)]
Fix bug #66286: Incorrect object comparison with inheritance

std_compare_objects immidiately returned 0 if the property tables
of both objects contain NULL at some index. Thus it would report
objects as equal even though properties following after that
differ.

11 years agoFixed bug #66395 basename function doesn't remove drive letter
Anatol Belski [Fri, 3 Jan 2014 21:25:58 +0000 (22:25 +0100)]
Fixed bug #66395 basename function doesn't remove drive letter

11 years agoBump year
Xinchen Hui [Fri, 3 Jan 2014 03:04:26 +0000 (11:04 +0800)]
Bump year

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Derick Rethans [Thu, 2 Jan 2014 10:57:46 +0000 (10:57 +0000)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

11 years agofix #66375 bad logic in sapi header callback routine
krakjoe [Wed, 1 Jan 2014 12:58:18 +0000 (12:58 +0000)]
fix #66375 bad logic in sapi header callback routine

11 years agoFix leak caused by fix to bug #65667
Nikita Popov [Mon, 30 Dec 2013 12:46:55 +0000 (13:46 +0100)]
Fix leak caused by fix to bug #65667

ftp->stream is now closed in the ftp resource dtor.

11 years ago5.4.25 next
Stanislav Malyshev [Wed, 25 Dec 2013 06:22:04 +0000 (22:22 -0800)]
5.4.25 next

11 years agoremoved outdated IsDebuggerPresent declaration
Anatol Belski [Mon, 23 Dec 2013 10:53:47 +0000 (11:53 +0100)]
removed outdated IsDebuggerPresent declaration

This piece of code seems to retain compatibility with some windows
versions before 2000. Today it's not relevant anymore and only
produces a warning C4273 because of the conflicting prototype. In
VC9 the declaration is present in winbase.h:4142, but available
is it already in winxp. Here's the doc link
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680345(v=vs.85).aspx

11 years agostop warnings from unused opcode map
krakjoe [Sun, 22 Dec 2013 13:00:51 +0000 (13:00 +0000)]
stop warnings from unused opcode map

11 years ago- BFN
Felipe Pena [Sun, 22 Dec 2013 11:43:53 +0000 (09:43 -0200)]
- BFN

11 years ago- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: micha...
Felipe Pena [Sun, 22 Dec 2013 11:42:45 +0000 (09:42 -0200)]
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com

11 years agoIncluded new .c file in build too
Bob Weinand [Sat, 21 Dec 2013 23:52:05 +0000 (00:52 +0100)]
Included new .c file in build too

11 years agoMoved to new file, killing a lot of warnings
Bob Weinand [Sat, 21 Dec 2013 22:45:34 +0000 (23:45 +0100)]
Moved to new file, killing a lot of warnings

11 years agoFixed build...
Bob Weinand [Sat, 21 Dec 2013 20:29:08 +0000 (21:29 +0100)]
Fixed build...

11 years agoAdded an opcode to opcode name map
Bob Weinand [Sat, 21 Dec 2013 18:22:47 +0000 (19:22 +0100)]
Added an opcode to opcode name map
That way extensions etc. don't have to maintain their own lists anymore.
Also as phpdbg is included and needs such a map, it'd be counterproductive to need to change two things on every new opcode.

11 years agoMerge branch '5.4' into PHP-5.4
Boris Lytochkin [Thu, 19 Dec 2013 21:00:46 +0000 (01:00 +0400)]
Merge branch '5.4' into PHP-5.4

* 5.4:
  keep 'em sorted
  Fixed SNMP_ERR_TOOBIG handling for bulk walk operations

11 years agokeep 'em sorted
Boris Lytochkin [Thu, 19 Dec 2013 20:51:59 +0000 (00:51 +0400)]
keep 'em sorted

11 years agoFixed SNMP_ERR_TOOBIG handling for bulk walk operations
Boris Lytochkin [Thu, 19 Dec 2013 20:25:16 +0000 (00:25 +0400)]
Fixed SNMP_ERR_TOOBIG handling for bulk walk operations

11 years ago- Updated to version 2013.9 (2013i)
Derick Rethans [Thu, 19 Dec 2013 18:58:44 +0000 (18:58 +0000)]
- Updated to version 2013.9 (2013i)

11 years agoFixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)
Remi Collet [Thu, 19 Dec 2013 09:53:38 +0000 (10:53 +0100)]
Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)

11 years agoUpdate NEWS handling section of README.GIT-RULES
Michael Wallner [Thu, 19 Dec 2013 09:04:32 +0000 (10:04 +0100)]
Update NEWS handling section of README.GIT-RULES

See http://marc.info/?t=138124004400005&r=1&w=2