Frank Denis
f64d00d684
ext/sodium: signing empty messages is fine
2017-09-26 17:37:04 +02:00
Nikita Popov
3a4db74ee4
Create $http_response_header even if not used
...
Extensions are relying on it.
2017-09-26 09:20:43 +02:00
Christoph M. Becker
296eb5193c
Merge branch 'pull-request/2773' into PHP-7.2
...
* pull-request/2773:
Fix PHP_GD_TTSTR: command not found warning in ext/gd
2017-09-26 00:45:21 +02:00
Dmitry Stogov
2a33e357cd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Added missed ~
2017-09-25 12:23:01 +03:00
Dmitry Stogov
550595c085
Added missed ~
2017-09-25 12:22:35 +03:00
Dmitry Stogov
801cdb8945
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed type inference
2017-09-25 12:04:13 +03:00
Dmitry Stogov
d526ddec85
Fixed type inference
2017-09-25 12:03:47 +03:00
Peter Kokot
8c85d7b732
Fix PHP_GD_TTSTR: command not found warning in ext/gd
2017-09-25 02:37:42 +02:00
Xinchen Hui
ed2a5ebaeb
Fixed bug #75230 (Invalid opcode 49/1/8 using opcache)
2017-09-24 18:01:29 +08:00
Xinchen Hui
bad5639386
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Compiler warning
2017-09-24 17:24:57 +08:00
Xinchen Hui
e8c200515a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Compiler warning
2017-09-24 17:24:23 +08:00
Xinchen Hui
db63367871
Compiler warning
2017-09-24 17:19:05 +08:00
Dmitry Stogov
28391b9e7f
Using "enum" types as bit-fields is not portable.
2017-09-22 13:35:41 +03:00
Frank Denis
8a52a61e3a
ext/sodium: avoid negations on unsigned values
2017-09-21 17:46:01 +02:00
Christoph M. Becker
43152bc39f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
2017-09-20 15:54:07 +02:00
Christoph M. Becker
0c0b955d5f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
2017-09-20 15:47:02 +02:00
Dmitry Stogov
9a01fe712a
Fixed few ext/oci8 bugs
2017-09-20 16:46:04 +03:00
Christoph M. Becker
eedc060c92
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
...
We must not overwrite the SPL_DLLIST_IT_FIX flag when changing the
iterator mode.
2017-09-20 15:46:04 +02:00
Dmitry Stogov
6544ec5460
Fixed NOP removal (empty blocks should be shifted as well)
2017-09-20 01:10:31 +03:00
Frank Denis
fd86fdd7b8
ext/sodium: throw an exception if only the prefix of a hex string is valid
2017-09-19 14:37:21 +02:00
Dmitry Stogov
084e34098a
Fixed optimization (the bug caused endless-loop on micro_bench.php in master branch)
2017-09-18 14:10:18 +03:00
Anatol Belski
b134793b32
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75018 , fixed bug #75177
2017-09-13 14:12:31 +02:00
Anatol Belski
3d93856c4a
Fixed bug #75018 , fixed bug #75177
...
Both are caused by the same cast issue in mysqlnd on 32-bit.
2017-09-13 14:10:30 +02:00
Dmitry Stogov
2874fa8fb0
Fixed test
2017-09-12 23:47:22 +03:00
Anatol Belski
689f9956da
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test failure on 32-bit
2017-09-12 18:19:34 +02:00
Anatol Belski
fcad6a97b8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test failure on 32-bit
2017-09-12 18:18:44 +02:00
Anatol Belski
7674b5e574
Fix test failure on 32-bit
2017-09-12 18:17:28 +02:00
Anatol Belski
a54079b92f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:14:24 +02:00
Anatol Belski
05c65de082
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:13:42 +02:00
Remi Collet
b09497c0e2
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:12:06 +02:00
Joe Watkins
f87e513557
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:08:01 +01:00
Joe Watkins
7015d22116
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:06:35 +01:00
jhdxr
3e11b7fc21
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:05:58 +01:00
Dylan K. Taylor
c3b0e68eb7
Fix LDFLAGS getting overwritten (ext/curl)
2017-09-12 07:03:22 +01:00
Christoph M. Becker
77f3cef35c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #46781 (BC math handles minus zero incorrectly)
2017-09-11 23:52:14 +02:00
Christoph M. Becker
87a91aef83
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #46781 (BC math handles minus zero incorrectly)
2017-09-11 23:46:21 +02:00
Christoph M. Becker
9aa6898b9b
Fixed bug #46781 (BC math handles minus zero incorrectly)
...
Actually, there is no negative zero at all. We obey Postel's law, and
still accept negative zeroes, but we store them as positive zeroes
after the conversion from string, i.e. we normalize before further
processing.
2017-09-11 23:44:23 +02:00
Anatol Belski
dcae6d6423
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fork test to keep up with libxsl >= 1.1.30
2017-09-11 18:20:42 +02:00
Anatol Belski
88c7556d99
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fork test to keep up with libxsl >= 1.1.30
2017-09-11 18:20:13 +02:00
Anatol Belski
d103802003
Fork test to keep up with libxsl >= 1.1.30
...
The behavior of date parsing has changed and is reflected in the
changelog. Invalid dates are not accepted, in particular dates with a
negative year, as in this test.
2017-09-11 18:14:51 +02:00
Anatol Belski
2d60b35147
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add symbol to libxml exports
2017-09-11 17:37:10 +02:00
Anatol Belski
75cb69740e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add symbol to libxml exports
2017-09-11 17:36:25 +02:00
Anatol Belski
04a6bbae6c
Add symbol to libxml exports
2017-09-11 17:35:25 +02:00
Anatol Belski
8a9ff55397
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compat with libxml2 2.9.5
2017-09-11 16:16:09 +02:00
Anatol Belski
a77eddff96
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 16:15:32 +02:00
Anatol Belski
cab41ecb93
Fix test compat with libxml2 2.9.5
...
One warning disappeared, but the flow is still valid.
2017-09-11 16:12:04 +02:00
Anatol Belski
45613b3473
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:51 +02:00
Anatol Belski
b5d7663444
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:24 +02:00
Anatol Belski
3549d9184a
Fix test compat with libxml2 2.9.5
...
From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
2017-09-11 14:32:54 +02:00
Anatol Belski
2f5129cacb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test portability
2017-09-11 12:40:11 +02:00
Anatol Belski
d33194d2aa
Fix test portability
...
The message comes from the C runtime, so it is not reliable to check the
exact wording.
2017-09-11 12:38:20 +02:00
Anatol Belski
a6bbb534d5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:18:37 +02:00
Anatol Belski
9ca0cd0a1a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:18:06 +02:00
Anatol Belski
5f9ae45e22
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:12:19 +02:00
Xinchen Hui
82d4727dbb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75152 (signed integer overflow in parse_iv)
Conflicts:
ext/standard/var_unserializer.c
2017-09-11 12:47:47 +08:00
Xinchen Hui
822c13b9ef
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fixed bug #73730 (textdomain(null) throws in strict mode)
Fix bug75178.phpt on Windows
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
Add BC define for users of the typoed zend_symbtable_add_new
Fix typo in zend_symtable_add_new() API name
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
Fixed bug #44995 (bcpowmod() fails if scale != 0)
Add missing null termination
Fixed bug #70470
Add test for bug #75155
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
2017-09-11 12:46:26 +08:00
Xinchen Hui
6b2813c3a7
Fixed bug #75152 (signed integer overflow in parse_iv)
2017-09-11 12:46:11 +08:00
Christoph M. Becker
674fe0af38
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73730 (textdomain(null) throws in strict mode)
2017-09-10 18:47:16 +02:00
Christoph M. Becker
b394343a31
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73730 (textdomain(null) throws in strict mode)
2017-09-10 18:41:00 +02:00
Christoph M. Becker
4b746fce1c
Fixed bug #73730 (textdomain(null) throws in strict mode)
...
The $text_domain parameter may be NULL, which we have to cater to
explicitly with regard to strict_types.
2017-09-10 18:39:29 +02:00
Christoph M. Becker
20fe838c76
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug75178.phpt on Windows
2017-09-09 17:04:42 +02:00
Christoph M. Becker
6602cc0385
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug75178.phpt on Windows
2017-09-09 16:54:23 +02:00
Christoph M. Becker
3fd08a1595
Fix bug75178.phpt on Windows
...
bug75178.phpt fails on Windows, because the stderr output is not
interspersed with stdout output there, but rather is appended to the
end. The fix is analogous to bug72093.phpt.
2017-09-09 16:46:32 +02:00
Christoph M. Becker
21eab49a53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
2017-09-09 13:30:40 +02:00
Christoph M. Becker
afa39038c2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
2017-09-09 13:20:14 +02:00
Christoph M. Becker
44eec946e8
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
...
Since `bcpowmod()` does not support non-integral operands, we have to
truncate these in addition to emitting a respective warning. We also
have to work with the truncated values in the following.
We recognize that the division by one to enforce the truncation is
actually overkill, but we stick with it for now, and shall tackle the
issue for PHP 7.3.
2017-09-09 13:18:26 +02:00
Sammy Kaye Powers
b786e1b45c
Improve sodium "invalid parameters" error messages
2017-09-07 22:18:48 +02:00
Nikita Popov
fd07302024
Fixed bug #75170
...
This change may result in different mt_rand/rand sequences being
generated on 64-bit systems for a specific seed.
See also https://externals.io/message/100229 .
2017-09-07 20:04:38 +02:00
Côme Chilliet
e67379399a
Removing client controls attribute from ldap_exop signature
...
Client controls will not get implemented in php-ldap as
they are specific to each client ldap lib and most of the
time unused any way. (servers controls on the other end are used
and will get implemented)
2017-09-07 16:31:03 +02:00
Dmitry Stogov
251a5599b4
Fixed SSA reconstruction
2017-09-07 17:10:38 +03:00
Christoph M. Becker
d01453b129
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
2017-09-07 00:38:59 +02:00
Christoph M. Becker
0f88a49fd5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
2017-09-07 00:32:39 +02:00
Christoph M. Becker
b2919853f8
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
...
`x mod 1` is always zero; we have to take the scale into account,
though.
2017-09-07 00:30:05 +02:00
Christoph M. Becker
5ce744091c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #44995 (bcpowmod() fails if scale != 0)
2017-09-06 23:41:46 +02:00
Christoph M. Becker
d724d8c107
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #44995 (bcpowmod() fails if scale != 0)
2017-09-06 23:33:48 +02:00
Christoph M. Becker
dea41f3c3a
Fixed bug #44995 (bcpowmod() fails if scale != 0)
...
`bc_divmod()` is supposed to do integer division, so we must not apply
a scale factor here.
2017-09-06 23:30:53 +02:00
Nikita Popov
dc00b6cf3f
Fix assertion failure in SoapFault ctor
...
Resetting the IAP on a shared array violates COW. I'm replacing this
with code to look up indexes 0 and 1, even though this is not
strictly the same.
2017-09-05 17:38:50 +02:00
Ken Guest
056df0dcb2
Add test for invalid SoapFault parameters
2017-09-05 17:36:01 +02:00
Sammy Kaye Powers
a8862d215c
Fix a few places where ZPP throw got reverted to ZPP
2017-09-05 16:39:24 +02:00
Derick Rethans
c0383b5039
Upgrade timelib to 2017.05beta9
2017-09-04 22:45:34 +01:00
Nikita Popov
b2824629c2
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-04 21:24:32 +02:00
Nikita Popov
c2e3541cc1
Add test for bug #75155
2017-09-04 21:23:07 +02:00
Nikita Popov
b689857d53
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
...
This reverts commit dbc2ffba82
.
2017-09-04 21:20:49 +02:00
Dmitry Stogov
384da65a97
Fixed edge-case in SSA use/def chain construction and type inference.
2017-09-04 21:58:24 +03:00
Dmitry Stogov
b5935c339e
Fixed tests
2017-09-04 20:12:17 +03:00
Remi Collet
a1bf36778a
Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
...
Minimal fix from upstream
Better name for struct will come later
2017-09-04 18:35:42 +02:00
Dmitry Stogov
ea734e2ac2
Fixed incorect constant conditional jump elimination
2017-09-04 19:11:17 +03:00
Dmitry Stogov
97b3cce755
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
improve warn (bzip2 requires libzip >= 1.3.0)
libzip 1.3.0 supports also bz2 compression
2017-09-04 16:50:44 +03:00
Dmitry Stogov
eb21300a26
Revert "Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update)"
...
This reverts commit db5b8dbcdf
.
2017-09-04 16:50:12 +03:00
Remi Collet
5bbd459609
improve warn (bzip2 requires libzip >= 1.3.0)
2017-09-04 14:47:03 +02:00
Anatol Belski
b971087354
libzip 1.3.0 supports also bz2 compression
2017-09-04 13:27:53 +02:00
Dmitry Stogov
db5b8dbcdf
Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update)
2017-09-04 14:07:37 +03:00
Dmitry Stogov
ebb00c1e0f
Fixed typo
2017-09-04 13:01:30 +03:00
Dmitry Stogov
4f1c2c22ca
Prevent duplicate debug output
2017-09-04 12:58:40 +03:00
Christoph M. Becker
b4dc3de5ab
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
2017-09-02 00:20:46 +02:00
Christoph M. Becker
afad9006c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
2017-09-02 00:11:36 +02:00
Christoph M. Becker
e20a6b0213
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
...
We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.
We also parenthesize the inner ternary operation to avoid confusion.
2017-09-02 00:04:02 +02:00
Anatol Belski
a6456f0a6c
Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive
...
update NEWS
2017-09-01 10:53:09 +02:00
Remi Collet
1248e0f7f5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:13 +02:00
Remi Collet
bcf50b7261
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:00 +02:00
Remi Collet
3239f6d679
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:55:45 +02:00
Jakub Zelenka
1f843a8fb5
Automatically load OpenSSL configuration file
2017-08-30 17:31:17 +01:00
Jakub Zelenka
58df6a3b61
Do not explicitly initialize and clean up OpenSSL for OpenSSL 1.1
2017-08-30 17:29:24 +01:00
Anatol Belski
752fc86f2b
Fix symbol name
2017-08-30 01:11:19 +02:00
Frank Denis
04c87ea815
ext/sodium: the second parameter of sodium_hex2bin() is optional
2017-08-29 19:25:01 +02:00
Frank Denis
b1a7885dd7
ext/sodium: AI_StringRef_And_String -> AI_StringRefAndString for consistency
2017-08-29 19:23:22 +02:00
Frank Denis
6383c6e3d0
ext/sodium: sort functions list
2017-08-29 19:22:17 +02:00
Sammy Kaye Powers
56a999885a
Fix constant references in error messages in ext/sodium
2017-08-28 22:16:35 -04:00
Christoph M. Becker
1aeafb7d4a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75124 (gdImageGrayScale() may produce colors)
2017-08-27 14:07:55 +02:00
Christoph M. Becker
a9ff4d1f5a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75124 (gdImageGrayScale() may produce colors)
2017-08-27 13:55:23 +02:00
Christoph M. Becker
499f5480f1
Fixed bug #75124 (gdImageGrayScale() may produce colors)
...
We have to make sure to avoid alpha-blending issues by explicitly
switching to `gdEffectReplace` and to restore the old value afterwards.
This is a port of <https://github.com/libgd/libgd/commit/a7a7ece >.
2017-08-27 13:53:39 +02:00
Remi Collet
cc577749a8
Improve pkg-config usage
...
- use default path when run using --with-curl=/usr (for debian)
- fallback to headers search when libcurl.pc not found
- issue warnings for explanation
2017-08-27 07:48:52 +02:00
Christoph M. Becker
3a2ad5b2c5
Update to SQLite 3.20.1
2017-08-26 12:13:06 +02:00
Nikita Popov
3ef8964997
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-25 22:03:23 +02:00
Nikita Popov
52e854f0ab
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-25 22:03:00 +02:00
Thomas Punt
be9edd83c2
Fixed bug #75090
2017-08-25 22:02:19 +02:00
Remi Collet
b8c6ce91b2
Switch from curl-config to pkg-config for curl extension
...
First attemp to fix multiarch support (#74125 ) for curl
introduce some debian specificity (dpkg command)
so is not suitable for other environmant.
This is mostly related to a broken "curl-config" config on debian
which doesn't provide the correct build options, while pkg-config
works as expected.
This new attemp rely on pkg-config output instead.
Notice: this make pkg-config a hard dependency.
Is there system without pkg-config ?
2017-08-25 17:01:12 +02:00
Anatol Belski
a454e38b7c
Enable PGO for Opcache
2017-08-24 23:36:21 +02:00
Frank Denis
48907e57ff
sodium ext: if it's a length, call it "length"!
2017-08-24 16:17:41 +02:00
Frank Denis
3691f36913
sodium ext: add bindings for sodium_pad() and sodium_unpad()
2017-08-24 16:12:18 +02:00
Christoph M. Becker
5cd348c1d6
Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image)
...
Crafted BMP images can cause dynamicSeek() to be called with a negative
position which must not be allowed, since dynamicSeek() works like
fseek() in SEEK_SET mode. We solve this by bailing out if `pos` is
negative, and let the image reading fail gracefully.
2017-08-24 14:07:10 +02:00
Frank Denis
cf6f25bd37
sodium ext: restore sodium_remove_param_values_from_backtrace() call
2017-08-24 11:01:08 +02:00
Frank Denis
a966d21aa8
sodium ext: sync sodium_crypto_kdf_derive_from_key() with the standalone ext
...
Use libsodium's native function if available, use correct constant names
in error messages
2017-08-24 10:59:02 +02:00
Frank Denis
271f0c4f90
sodium ext: Constants were renamed SODIUM_*
...
Adjust error messages accordingly.
2017-08-24 10:50:34 +02:00
Remi Collet
03361e9aa5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
From documentation, only the sign of returned value is relevant
2017-08-24 10:30:06 +02:00
Remi Collet
c449057808
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
From documentation, only the sign of returned value is relevant
2017-08-24 10:29:44 +02:00
Remi Collet
b7e96f8e0e
From documentation, only the sign of returned value is relevant
...
With recent glibc, memcmp sometime return a negative value instead of -1
2017-08-24 10:27:38 +02:00
Remi Collet
f4792750a5
timelib now have a function for this, use it
2017-08-22 12:55:13 +02:00
Frank Denis
3fff74aab5
sodium ext: If sodium_init() returns 1, this is fine.
...
We actually want to do this so that multiple extensions using libsodium
can be loaded simultaneously.
2017-08-22 09:40:38 +02:00
Tianfang Yang
d128fdc2dc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:44:20 -04:00
Tianfang Yang
441487cd05
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:39:55 -04:00
Ingmar Runge
079bc324cd
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:09:35 -04:00
Xinchen Hui
ccab684d9f
Attempt to fix unstable test
2017-08-21 18:51:03 +08:00
Xinchen Hui
ee26c1efbc
Fixed type-infer
2017-08-21 16:35:07 +08:00
Andrea Faulds
ccb09d2c12
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-19 20:38:02 +01:00
Andrea Faulds
158b06cffb
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-19 20:35:22 +01:00
Andrea Faulds
61538ebadc
Fixed bug #75097 (gethostname fails if your host name is 64 chars long)
...
PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.
2017-08-19 20:31:54 +01:00
Sammy Kaye Powers
e8f552aeba
Remove param values from backtrace in exception thrown from ZPP throw
2017-08-19 15:18:41 +02:00
Sammy Kaye Powers
0591fe2494
Change zend_parse_parameters() to zend_parse_parameters_throw() in ext/sodium
2017-08-19 15:16:45 +02:00
Xinchen Hui
2e002eaf70
Fixed for RESOURCE too
2017-08-19 18:55:56 +08:00
Xinchen Hui
4b6345a3ae
Fixed RC1 Hanlding
2017-08-19 18:51:17 +08:00
Xinchen Hui
ea0df07398
Fixed type-info for ZEND_FETCH_DIIM_UNSET
2017-08-19 18:48:10 +08:00
Remi Collet
ef96411f60
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
NEWS
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:52:43 +02:00
Remi Collet
acf09c416b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:52:22 +02:00
Remi Collet
a7594cb74f
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:51:44 +02:00
Dmitry Stogov
ef90e37bd1
Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string)
2017-08-18 14:56:28 +03:00
Dmitry Stogov
3866c1699e
More accurate reference counting inference
2017-08-17 20:03:12 +03:00
Xinchen Hui
30fb70dd25
Fixed type-infer on ZEND_FETCH_DIM_FUNC_ARG
2017-08-17 21:57:28 +08:00
Derick Rethans
7121b8d0a2
Do the revert properly, and put back fraction support in 7.1
2017-08-16 15:59:56 +01:00
Derick Rethans
43c78b2422
Fixed 32-bit tests as well.
2017-08-16 15:28:50 +01:00