]>
granicus.if.org Git - php/log
Anatol Belski [Sun, 9 Mar 2014 12:06:32 +0000 (13:06 +0100)]
updated NEWS
Anatol Belski [Sun, 9 Mar 2014 12:03:43 +0000 (13:03 +0100)]
removed the libsqlite patch as it's not relevant anymore
Anatol Belski [Sun, 9 Mar 2014 12:01:48 +0000 (13:01 +0100)]
updated bundled libsqlite to 3.8.3.1
Remi Collet [Fri, 7 Mar 2014 13:10:16 +0000 (14:10 +0100)]
add OPSYS_Z_CPM missing constant
Daniel Lowrey [Fri, 7 Mar 2014 12:26:37 +0000 (05:26 -0700)]
Update php.ini files (new openssl directives)
Tjerk Meesters [Fri, 7 Mar 2014 11:24:02 +0000 (19:24 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Fri, 7 Mar 2014 11:23:46 +0000 (19:23 +0800)]
Fixed null termination
Tjerk Meesters [Fri, 7 Mar 2014 10:57:55 +0000 (18:57 +0800)]
Updated NEWS for #65545
Tjerk Meesters [Fri, 7 Mar 2014 10:57:36 +0000 (18:57 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Fri, 7 Mar 2014 10:51:16 +0000 (18:51 +0800)]
Updated NEWS for #65545
datibbaw [Wed, 12 Feb 2014 06:06:29 +0000 (14:06 +0800)]
Add fread(length) method
Fixed off-by-one write bug
Added test
Bob Weinand [Fri, 7 Mar 2014 06:39:20 +0000 (07:39 +0100)]
Include the T_POW operator in constant scalar expressions
Tjerk Meesters [Thu, 6 Mar 2014 00:33:01 +0000 (08:33 +0800)]
Updated news for #66822
Tjerk Meesters [Thu, 6 Mar 2014 00:31:01 +0000 (08:31 +0800)]
Allow T_POW in constant expressions
Christopher Jones [Fri, 7 Mar 2014 00:49:11 +0000 (16:49 -0800)]
Fix typo
Michael M Slusarz [Wed, 12 Feb 2014 09:55:49 +0000 (02:55 -0700)]
Fix #66698: Add fnv1a32 and fnv1a64 hash options
Nikita Popov [Thu, 6 Mar 2014 22:15:30 +0000 (23:15 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
Nikita Popov [Thu, 6 Mar 2014 22:12:41 +0000 (23:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Dmitry Panin [Wed, 12 Feb 2014 00:39:27 +0000 (16:39 -0800)]
Fix HTML entity table generation
Andrey Andreev [Wed, 5 Mar 2014 10:47:11 +0000 (12:47 +0200)]
Add test for bug #62102 / RFC 2144
Using test vectors from RFC 2144, section B.1 (http://tools.ietf.org/rfc/rfc2144.txt)
Christopher Jones [Thu, 6 Mar 2014 18:21:36 +0000 (10:21 -0800)]
Whitespace.
Christopher Jones [Thu, 6 Mar 2014 18:16:42 +0000 (10:16 -0800)]
Misc cleanup including adding the version number
Remi Collet [Thu, 6 Mar 2014 10:02:40 +0000 (11:02 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix order in NEWS
Add CVE ref (not known at release time)
Fix NEWS for 5.5.11 fix (really not in 5.5.10)
5.5.10 release date for NEWS
Remi Collet [Thu, 6 Mar 2014 09:55:10 +0000 (10:55 +0100)]
Fix order in NEWS
Remi Collet [Thu, 6 Mar 2014 09:54:18 +0000 (10:54 +0100)]
Add CVE ref (not known at release time)
Remi Collet [Thu, 6 Mar 2014 09:53:07 +0000 (10:53 +0100)]
Fix NEWS for 5.5.11 fix (really not in 5.5.10)
Julien Pauli [Thu, 6 Mar 2014 09:18:10 +0000 (10:18 +0100)]
5.5.10 release date for NEWS
Remi Collet [Thu, 6 Mar 2014 09:16:30 +0000 (10:16 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.
Remi Collet [Thu, 6 Mar 2014 09:16:16 +0000 (10:16 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.
Remi Collet [Thu, 6 Mar 2014 09:14:08 +0000 (10:14 +0100)]
Set default Digest Message to use SHA1 instead of MD5 in openssl tests
as MD5 signature are now rejected by newer openssl Version.
Noticed in RHEL-7 and Fedora 21 build.
Daniel Lowrey [Wed, 5 Mar 2014 17:49:21 +0000 (10:49 -0700)]
Add NEWS/UPGRADING notes (openssl + curl)
Daniel Lowrey [Wed, 5 Mar 2014 15:50:23 +0000 (10:50 -0500)]
Add encrypted server SNI support
- New "SNI_server_certs" context option maps host names to
appropriate certs should client handshakes advertise the
SNI extension:
$ctx = stream_context_create(["ssl" => [
"local_cert" => "/path/to/cert.pem",
"SNI_server_certs" => [
"domain1.com" => "/path/to/domain1.pem",
"*.domain2.com" => "/path/to/domain2.pem",
"domain3.com" => "/path/to/domain3.pem"
]
]]);
- Prefixing a "*." will utilize the matching cert if a client
requests the primary host name or any subdomain thereof. So
in the above example our "domain2.pem" will be used for both
requests to "domain2.com" -and- "subdomain.domain2.com"
- The "SNI_server_certs" ctx option has no effect for client
streams.
- SNI support is enabled by default as of 5.6 for both servers
and clients. Servers must specify the "SNI_server_certs" array
to actually use the SNI extension, though.
- If the `"SNI_enabled" => false` ctx option is also passed then
"SNI_server_certs" has no effect.
- While supporting SNI by itself is enough to successfully
negotiate the TLS handshake with many clients, servers MUST
still specify a "local_cert" ctx option or run the risk of
connection failures from clients that do not support the SNI
extension.
datibbaw [Tue, 4 Mar 2014 03:02:18 +0000 (11:02 +0800)]
Raise timeout to 2s, reworded ssl timeout warning
Daniel Lowrey [Tue, 4 Mar 2014 01:57:33 +0000 (18:57 -0700)]
Refactor + reorganize openssl files
- All streams-related code now lives in xp_ssl.c. Previously
stream code was split across both openssl.c and xp_ssl.c
- Folded superfluous php_openssl_structs.h into xp_ssl.c
- Server-specific options now set on SSL_CTX instead of SSL
- Deprecate SNI_server_name ctx option
- Miscellaneous refactoring
Andrey Hristov [Wed, 5 Mar 2014 14:47:16 +0000 (16:47 +0200)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Nikita Popov [Wed, 5 Mar 2014 14:36:00 +0000 (15:36 +0100)]
Add NEWS entry for mcrypt changes
Nikita Popov [Wed, 5 Mar 2014 14:18:27 +0000 (15:18 +0100)]
Use zpp for accepting encryption mode string
Leaving the non-zpp usage for the mcrypt_{MODE} functions, as
they're deprecated and I'm too lazy to update all their tests.
Nikita Popov [Wed, 5 Mar 2014 14:09:25 +0000 (15:09 +0100)]
Remove a number of macros that are no longer used
Nikita Popov [Wed, 5 Mar 2014 11:42:01 +0000 (12:42 +0100)]
Provide expected IV length in IV error messages
Nikita Popov [Sun, 2 Mar 2014 22:26:46 +0000 (23:26 +0100)]
Call mcrypt_module_close on error
Nikita Popov [Sun, 2 Mar 2014 22:23:12 +0000 (23:23 +0100)]
Print supported key sizes in error message
Nikita Popov [Sat, 1 Mar 2014 23:42:13 +0000 (00:42 +0100)]
Clean up do_crypt code
Avoid unnecessary alloc/copy/free cycles and clean up structure in
general. Add a few extra checks for the key length.
Nikita Popov [Sat, 1 Mar 2014 22:51:03 +0000 (23:51 +0100)]
Abort on invalid key size
Previously an incorrectly sized key was either silently padded
with NUL bytes or truncated. Especially the silent nature of this
behavior makes it extremely easy to use weak encryption. A common
mistake - which has also been extensively made in our tests - is
to use a password instead of a key.
Incorrectly sized keys will now be rejected.
Nikita Popov [Sat, 1 Mar 2014 14:42:07 +0000 (15:42 +0100)]
Abort on missing IV if the enc_mode requires it
Previously the code fell back on using a NUL IV if no IV was
passed and the encryption mode required it. This is dangerous and
makes no sense from a practical point of view (as you could just
as well use ECB then).
Nikita Popov [Sat, 1 Mar 2014 14:29:20 +0000 (15:29 +0100)]
Abort on invalid IV size
Previously, if the size of the IV did not match the block size
mcrypt would throw a warning and fall back to a NUL IV. This
behavior is both dangerous and makes no practical sense.
mcrypt_encrypt etc. will now return false if the IV has an incorrect
size.
Andrey Hristov [Wed, 5 Mar 2014 14:22:23 +0000 (16:22 +0200)]
Refactor the result set data structures. Move more to the buffered and unbuffered
substructures. Add methods to these too. Preparing for pluggable interface for
returning data to the engine (zvals, c-style, something else)
Remi Collet [Wed, 5 Mar 2014 09:45:50 +0000 (10:45 +0100)]
NEWS
Remi Collet [Wed, 5 Mar 2014 09:44:04 +0000 (10:44 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
NEWS
Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327
Remi Collet [Wed, 5 Mar 2014 09:43:45 +0000 (10:43 +0100)]
NEWS
Remi Collet [Wed, 5 Mar 2014 09:40:36 +0000 (10:40 +0100)]
Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327
This amends commit
8f4a537 , which aimed to correct NULL dereference because of
missing check of gdImageCreateTrueColor() / gdImageCreate() return value. That
commit checks for negative crop rectangle width and height, but
gdImageCreate*() can also return NULL when width * height overflows. Hence
NULL deref is still possible, as gdImageSaveAlpha() and gdImagePaletteCopy()
is called before dst == NULL check.
This moves NULL check to happen right after gdImageCreate*(). It also removes
width and height check before gdImageCreate*(), as the same check is done by
image create functions (with an extra warning).
From thoger redhat com
Remi Collet [Tue, 4 Mar 2014 19:39:00 +0000 (20:39 +0100)]
fix merge
Remi Collet [Tue, 4 Mar 2014 19:36:31 +0000 (20:36 +0100)]
NEWS
Remi Collet [Tue, 4 Mar 2014 19:36:08 +0000 (20:36 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
NEWS
Fixed Bug #66820 out-of-bounds memory access in fileinfo
Remi Collet [Tue, 4 Mar 2014 19:35:56 +0000 (20:35 +0100)]
NEWS
Remi Collet [Tue, 4 Mar 2014 19:32:52 +0000 (20:32 +0100)]
Fixed Bug #66820 out-of-bounds memory access in fileinfo
Upstream fix:
https://github.com/glensc/file/commit/
447558595a3650db2886cd2f416ad0beba965801
Notice, test changed, with upstream agreement:
-define OFFSET_OOB(n, o, i) ((n) < (o) || (i) >= ((n) - (o)))
+define OFFSET_OOB(n, o, i) ((n) < (o) || (i) > ((n) - (o)))
Remi Collet [Tue, 4 Mar 2014 12:46:21 +0000 (13:46 +0100)]
fix merge
Remi Collet [Tue, 4 Mar 2014 12:43:42 +0000 (13:43 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Improves fix for memory leak, keep in sync with upstream.
Remi Collet [Tue, 4 Mar 2014 12:41:37 +0000 (13:41 +0100)]
Improves fix for memory leak, keep in sync with upstream.
Previous fix:
http://git.php.net/?p=php-src.git;a=commitdiff;h=
10eb0070700382f966bf260e44135e1f724a15d2
Upstream fix:
https://github.com/glensc/file/commit/
c0c0032b9e9eb57b91fefef905a3b018bab492d9
Remi Collet [Mon, 3 Mar 2014 14:33:11 +0000 (15:33 +0100)]
Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h
as this introduce need for awfull hacks...
Tjerk Meesters [Sun, 2 Mar 2014 21:59:07 +0000 (05:59 +0800)]
Fixed NEWS for #60602
Tjerk Meesters [Sun, 2 Mar 2014 21:58:03 +0000 (05:58 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Sun, 2 Mar 2014 21:57:36 +0000 (05:57 +0800)]
Fixed news for #60602
Tjerk Meesters [Sun, 2 Mar 2014 21:56:22 +0000 (05:56 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Sun, 2 Mar 2014 21:54:09 +0000 (05:54 +0800)]
Updated news for #60602
Tjerk Meesters [Thu, 10 Oct 2013 12:21:14 +0000 (20:21 +0800)]
proc_open(): separate environment values that aren't strings
Added a test case
Derick Rethans [Sun, 2 Mar 2014 19:17:16 +0000 (14:17 -0500)]
Added DateTimeImmutable::createFromMutable.
Derick Rethans [Sun, 2 Mar 2014 19:13:26 +0000 (14:13 -0500)]
Sort alphabetically
Derick Rethans [Sun, 2 Mar 2014 18:27:35 +0000 (13:27 -0500)]
Fixed NEWS.
Daniel Lowrey [Sun, 2 Mar 2014 14:03:39 +0000 (07:03 -0700)]
Capture peer cert even if verify fails
Previously the "capture_peer_cert" SSL context option only
captured the peer's certificate if the verification routine
succeeded.
By also capturing the on verify failure applications have the
ability to parse the cert and ask users whether they wish to
proceed given the information presented by the peer.
Chris Wright [Sun, 2 Mar 2014 01:57:20 +0000 (01:57 +0000)]
Windows cert verify improvements + leak fixes
- Clean up properly at all fail points in native Windows peer
verification routine
- Bring certificate usages and chain flags into line with chromium
implementation in windows environments
Anatol Belski [Sun, 2 Mar 2014 11:49:30 +0000 (12:49 +0100)]
turn off some false positives
Anatol Belski [Sat, 1 Mar 2014 19:15:10 +0000 (20:15 +0100)]
support for static analyzers other than visual studio
Anatol Belski [Sat, 1 Mar 2014 12:28:02 +0000 (13:28 +0100)]
fix wording
Anatol Belski [Sat, 1 Mar 2014 12:16:16 +0000 (13:16 +0100)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
Anatol Belski [Sat, 1 Mar 2014 12:11:35 +0000 (13:11 +0100)]
reveal more info on the configure options
Tjerk Meesters [Sat, 1 Mar 2014 04:27:36 +0000 (12:27 +0800)]
Updated news for #66535 and #66109
Tjerk Meesters [Sat, 1 Mar 2014 04:27:22 +0000 (12:27 +0800)]
Updated news for #66535 and #66109
Tjerk Meesters [Sat, 1 Mar 2014 00:47:32 +0000 (08:47 +0800)]
Updated NEWS for #66535
Anatol Belski [Fri, 28 Feb 2014 18:39:34 +0000 (19:39 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
don't compare constants on run time
Anatol Belski [Fri, 28 Feb 2014 18:38:32 +0000 (19:38 +0100)]
don't compare constants on run time
Tjerk Meesters [Fri, 28 Feb 2014 15:48:34 +0000 (23:48 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
substr_compare(): Allow zero length comparison
datibbaw [Fri, 21 Feb 2014 02:24:52 +0000 (10:24 +0800)]
substr_compare(): Allow zero length comparison
Treat zero length comparison as always equal.
Tjerk Meesters [Fri, 28 Feb 2014 14:31:16 +0000 (22:31 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed test case title
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
Tjerk Meesters [Fri, 28 Feb 2014 14:30:21 +0000 (22:30 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed test case title
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
Tjerk Meesters [Fri, 28 Feb 2014 14:27:32 +0000 (22:27 +0800)]
Fixed test case title
Tjerk Meesters [Fri, 28 Feb 2014 14:22:07 +0000 (22:22 +0800)]
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
A newline is added to the mail headers when mail.add_x_header is used and no other headers are passed to mail().
The scenario in which custom headers are used was already fixed in #48620, back in 2009.
Tjerk Meesters [Fri, 28 Feb 2014 11:01:17 +0000 (19:01 +0800)]
Merge branch '5.5' into 5.6
* 5.5:
Fixed expected output of a few cURL test cases
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
Tjerk Meesters [Fri, 28 Feb 2014 10:59:06 +0000 (18:59 +0800)]
Fixed expected output of a few cURL test cases
datibbaw [Mon, 18 Nov 2013 04:06:27 +0000 (12:06 +0800)]
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
Added test case.
Refactored the code to isolate the string handling. Fixed return values to use SUCCESS and FAILURE.
Removed unused error variable.
Indentation fix.
Removed the ugly goto.
Anatol Belski [Fri, 28 Feb 2014 08:43:57 +0000 (09:43 +0100)]
primitive test fixes
Remi Collet [Fri, 28 Feb 2014 07:12:26 +0000 (08:12 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
Remi Collet [Fri, 28 Feb 2014 07:12:16 +0000 (08:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
Remi Collet [Fri, 28 Feb 2014 07:12:03 +0000 (08:12 +0100)]
man page: long option name is --strip, not --stripped
Remi Collet [Fri, 28 Feb 2014 07:10:01 +0000 (08:10 +0100)]
--global have be removed in 5.2
Anatol Belski [Thu, 27 Feb 2014 14:50:17 +0000 (15:50 +0100)]
remove pcntl leftover from the test code
Ferenc Kovacs [Thu, 27 Feb 2014 11:54:07 +0000 (12:54 +0100)]
list the fpm change hat rfc in UPGRADING
Ferenc Kovacs [Thu, 27 Feb 2014 11:43:42 +0000 (12:43 +0100)]
mention the apparmor support in fpm
Ferenc Kovacs [Thu, 27 Feb 2014 10:30:23 +0000 (11:30 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
typo spotted by Lajos Veres
Ferenc Kovacs [Thu, 27 Feb 2014 10:28:46 +0000 (11:28 +0100)]
typo spotted by Lajos Veres
Anatol Belski [Thu, 27 Feb 2014 08:26:48 +0000 (09:26 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
update libs_version.txt
Conflicts:
win32/build/libs_version.txt