Anatol Belski
e95625f47e
update NEWS
2016-08-02 14:36:56 +02:00
Anatol Belski
40b3a031b2
cleanup table after test
2016-08-02 14:35:24 +02:00
Pablo Santiago Sánchez
90c6cbd09b
- lastInsertId using Postgres Lastval() function
2016-08-02 14:34:30 +02:00
Nikita Popov
c9d3ff0c6e
Revert "Fixed bug #71219 "
...
This reverts commit 14d674442e .
I misread the discussion on the bug -- this is not the correct
fix. However the other proposed fix does not work either, so just
reverting for now.
2016-07-30 18:34:34 +02:00
Nikita Popov
14d674442e
Fixed bug #71219
2016-07-30 18:21:19 +02:00
Nikita Popov
99613431b4
Add missing TSRMLS_FETCH()
2016-07-30 16:28:42 +02:00
Nikita Popov
e87ac688d5
Fixed bug #72142
2016-07-30 15:13:03 +02:00
ju1ius
1d32b80903
fixes bad address given to onig_error_code_to_str
...
Closes bug #72710
(cherry picked from commit 0fb7eb6723 )
2016-07-30 11:46:34 +02:00
Christoph M. Becker
f67ccd4a7b
Fix #71894 : AddressSanitizer: global-buffer-overflow in zif_cal_from_jd
...
Julian days < 347998 denote invalid Jewish calendar dates, so
cal_from_jd($jd, CAL_JEWISH) and jdmonthname($jd, CAL_MONTH_JEWISH) should
actually fail. For BC we don't yet let them though, but we fix the OOB read
that happens in this case, and we also adjust cal_from_jd()'s return value
to have empty strings for "abbrevdayname" and "dayname" instead of "Sun"/
"Sunday" and NULL for "dow" instead of 0, which doesn't make any sense.
2016-07-29 01:04:21 +02:00
Christoph M. Becker
5c458c9b02
Implement FR #65462 : Please add tests for gregorian and jewish overflow fixes
2016-07-28 19:59:14 +02:00
Christoph M. Becker
7ab39e2fae
Fix #67976 : cal_days_month() fails for final month of the French calendar
...
The French calendar ends on 0014-13-05, so trying to calculate the Julian
day of 0015-01-01 fails. We cater to that by returning the hard-coded value.
2016-07-28 19:13:58 +02:00
Christoph M. Becker
ced2a80e6f
Bug #69975 had already been fixed as of PHP 5.6.12
...
Also CVE-2015-8879 had been assigned.
2016-07-28 18:22:19 +02:00
Christoph M. Becker
c301adbbd1
Fix #72677 : SCM_CREDENTIALS related tests should be skipped on AIX
...
Patch provided by matthieu dot sarter dot external at atos dot net.
2016-07-28 17:19:47 +02:00
Christoph M. Becker
6e886f07a8
Fix #72676 : Test cli_process_title_unix fails on AIX
...
Patch provided by matthieu dot sarter dot external at atos dot net.
2016-07-28 16:51:45 +02:00
Christoph M. Becker
ee6900c3de
Fix #72694 : mb_ereg_search_setpos does not accept a string's last position
...
Setting the search position immediately behind the last character should be
allowed, so we fix this off-by-one error.
2016-07-28 15:21:48 +02:00
Christoph M. Becker
56cdaecb28
Fix #72693 : mb_ereg_search increments search position when a match zero-width
...
That's caused by an off-by-one error, which we fix.
2016-07-28 13:57:38 +02:00
Christoph M. Becker
d276e6a838
Fix #72691 : mb_ereg_search raises a warning if a match zero-width
...
That warning doesn't make sense (PCRE doesn't throw such a warning either),
so we remove it.
2016-07-28 13:07:05 +02:00
Christoph M. Becker
0ae8c337a3
Bug #6836 has already been fixed in PHP 5.6.24 and 7.0.9
2016-07-28 12:26:41 +02:00
Pierrick Charron
30a5ed3a79
Fixed bug #71929 (CURLINFO_CERTINFO data parsing error).
2016-07-27 23:30:20 -04:00
Pierrick Charron
ed16f2fed5
Update NEWS
2016-07-27 17:52:05 -04:00
Christoph M. Becker
315c0536c2
Fix #72688 : preg_match missing group names in matches
...
We have to multiply with 0x100 to properly scale the high byte.
2016-07-27 18:50:52 +02:00
Christoph M. Becker
cc125f277b
Implement #72653 : SQLite should allow opening with empty filename
...
From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html ) docs:
| If the filename is an empty string, then a private, temporary on-disk
| database will be created. This private database will be automatically
| deleted as soon as the database connection is closed.
We make that facility available to userland.
While we're at it, we also do some minor optimizations, remove the
unnecessary check for NUL characters in filename, which is already catered
to by ZPP(p), and add a missing `return` in case db_obj isn't initialized.
2016-07-27 16:41:03 +02:00
Ville Hukkamäki
cce457c68c
Fix bug #72667
...
Open data stream after receiving PASV reply, before sending the
main request.
Included test cases for opendir() with ftp:// and ftps:// wrappers.
Test cases re-use ext/ftp/tests/server.inc
Conflicts:
ext/standard/ftp_fopen_wrapper.c
2016-07-27 15:55:47 +02:00
Pierrick Charron
074b86d845
Fixed bug #72686 (zlib: url support is broken).
...
zlib: support is broken since a really long time.
It never worked on versions >= PHP5.6 so we can just remove
this dead code.
Bug was introduced 2006-05-14 (Before 5.2.0)
2016-07-27 00:33:13 -04:00
Pierrick Charron
4c2e1a13be
Fixed bug #72684 (AppendIterator segfault with closed generator)
2016-07-26 20:34:16 -04:00
Pierrick Charron
24d8f6ed7c
Fixed bug #71709
...
When curl_setopt is called with an empty slist as value, we should
not add the empty slist to the list of slist to free.
2016-07-26 18:50:15 -04:00
Christoph M. Becker
64e3e932fc
Further fixes wrt. bug #72668
...
Not only SQLite3::querySingle(), but also SQLite3::query() and
SQLite3Stmt::execute() were affected.
2016-07-25 17:03:10 +02:00
Anatol Belski
0c34d515f1
update NEWS
2016-07-25 10:14:18 +02:00
y-uti
3f842655db
Make phpize use PHP_PREFIX as the default location (windows)
...
The default path to where an extension is installed should be
PHP_PREFIX/ext on windows.
2016-07-25 10:01:34 +02:00
y-uti
72ac8cf5ad
Enable 'nmake test' on building extensions
...
On Windows, Makefile generated by phpize doesn't have the 'test'
target rule. This commit fixes that and enables 'nmake test' on
Windows.
2016-07-25 09:55:07 +02:00
Christoph M. Becker
305bddb0ed
Fix broken test case
...
d28f1da introduced a test regression, due to potentially additional output
regarding FreeType support. We fix that by making the test more resilient.
2016-07-25 02:00:37 +02:00
Christoph M. Becker
d28f1dae9d
Fix broken test case
...
The test claims that it would be "checking all the values in returned array",
but due to the use of %a it actually skipped elements. We fix that by using
%s instead.
2016-07-25 00:13:44 +02:00
Anatol Belski
9cd23ff84f
regenerate date parser with re2c 0.15.3
2016-07-24 14:50:10 +02:00
Nikita Popov
04b42b1e05
More tolerance in another IntlCalendar test
...
Again, off-by-1000 is expected if we're late in the second. Add an
extra 1000 to account for actual delta in call times.
2016-07-24 00:15:14 +02:00
Anatol Belski
80fee637f4
fix test
2016-07-23 20:55:39 +02:00
Christoph M. Becker
88838dd282
Fix #68712 : suspicious if-else statements
2016-07-23 19:29:43 +02:00
Christoph M. Becker
9fbd0c1ff1
Fix copy&paste errors in gd_interpolation.c
...
According to <https://github.com/libgd/libgd/commit/f101380 >.
2016-07-23 18:09:18 +02:00
Christoph M. Becker
2c16b9cf62
Fix #66555 : Always false condition in ext/gd/libgd/gdkanji.c
...
This issue has already been fixed in libgd[1], so we fix PHP's bundled
libgd accordingly.
[1] <https://github.com/libgd/libgd/commit/aa1d71c >
2016-07-23 16:48:07 +02:00
vhuk
65abdb556d
Fix for bug #54431
2016-07-23 13:28:42 +02:00
Nikita Popov
4fc1bfa93b
Make IntlCalendar::getNow() test more tolerant
...
Due to the *1000 factor the two values may be off-by-1000 even
without any actual delay, so increase the check to 2000.
2016-07-22 17:20:56 +02:00
Christoph M. Becker
6b116932b2
Fix #72646 : SplFileObject::getCsvControl does not return the escape character
...
This has obviously been missed when adding the $escape parameter to
SplFileObject::setCsvControl() in PHP 5.3, so we catch up on this.
2016-07-22 15:24:50 +02:00
Remi Collet
fb4a6dc0f1
FPM: add test for CVE-2016-5385
2016-07-22 09:35:09 +02:00
Christoph M. Becker
f2c2a4be9e
Fix #72330 : CSV fields incorrectly split if escape char followed by UTF chars
...
We must not forget to properly reset the state for multibyte characters
following an escape character.
2016-07-21 18:37:24 +02:00
Pieter Hordijk
f813f43855
Removed incorrect (leftover?) sentence in ini
...
about mbstring or iconv output handler
2016-07-21 16:49:14 +02:00
Anatol Belski
8b191921c3
update libs_versions.txt
2016-07-21 01:52:03 +02:00
Ferenc Kovacs
c9f21e8319
update NEWs
2016-07-21 00:36:07 +02:00
Anatol Belski
b57a38f584
regenerate date parser with re2c 0.13.5 to fix OSX issues
2016-07-20 17:57:39 +02:00
Xinchen Hui
9ebc96116b
Fixed arginfo
2016-07-20 18:07:02 +08:00
Derick Rethans
18ba78e988
Regenerate with the -b flag, as we used to do.
...
Apparently, Apple's LLVM can't handle it otherwise o_O.
2016-07-20 10:19:53 +01:00
Stanislav Malyshev
17a53f9e60
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Improve fix for #72520
2016-07-19 22:37:44 -07:00