summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* ext/imap/config.m4: fix conftest segfault in utf8_to_mutf7 check, bug #66909.Michael Orlitzky2015-12-091-5/+10
| | | | | | | | | | | | | | | | | The test program for utf8_to_mutf7 attempts to call it without arguments. The function expects one argument, however, and this leads to a segfault as reported in PHP bug #66909. The test program is using the PHP_IMAP_TEST_BUILD macro which complicates things a little. To keep this diff small, the PHP_IMAP_TEST_BUILD macro was modified to pass a fifth argument "extra-source" to the PHP_TEST_BUILD macro. The check for utf8_to_mutf7 was then modified to check for a dummy function, utf8_to_mutf7_php, which passes the correct number of arguments to utf8_to_mutf7. PHP-Bug: https://bugs.php.net/bug.php?id=66909 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=376735
* ext/dba/config.m4: Autodetect Berkeley DB v5.3.Michael Orlitzky2015-12-091-1/+5
| | | | | | | | | | | | | | | | | When the user passes --with-db4=DIR to ./configure, the directory DIR is searched for a number of paths in order of preference. These paths contain possible locations for Berkeley DB (BDB) to be installed, and since PHP only supports BDB-4.x and BDB-5.x, it's important that (for example) version 5.1 be autodetected before falling back to /usr/include/db.h which can point to BDB-6.x. The newer BDB-5.3 works with PHP, and if only BDB-5.3 is installed on the user's system, the current ./configure script is fine. However, if both BDB-5.3 and BDB-6.0 are installed, version 5.3 is not autodetected, causing BDB-6.0 to be used. The ./configure step then fails. This commit adds autodetection for BDB-5.3, and fixes a bug reported on Gentoo at https://bugs.gentoo.org/show_bug.cgi?id=564824.
* fix path separator in testAnatol Belski2015-12-091-2/+2
|
* Use LL_MASK for SQL_INT64 data formattingPopa Adrian Marius2015-12-031-1/+1
|
* Fix Bug #60052 Integer returned as a 64bit integer on X64_86 for pdo_firebirdPopa Adrian Marius2015-12-031-2/+2
|
* Fixed bug #70960 (ReflectionFunction for array_unique returns wrong number ↵Xinchen Hui2015-11-242-1/+12
| | | | of parameters)
* Add bug #70957 and #70958 releated test in refectionXinchen Hui2015-11-231-0/+44
|
* This seems betterXinchen Hui2015-11-201-2/+2
|
* Fixed build error "undefined symbol gdJpegGetVersionString"Xinchen Hui2015-11-201-0/+4
|
* Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6Xinchen Hui2015-11-171-0/+4
|\
| * News for fixed bug #68344Andrey Hristov2015-11-161-0/+4
| |
* | Improve the testXinchen Hui2015-11-171-2/+12
|/
* Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6Xinchen Hui2015-11-162-1/+11
|\
| * Added back support for undocummented host:port syntaxCôme Bernigaud2015-11-162-1/+11
| |
* | Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)Xinchen Hui2015-11-167-10/+90
|/ | | | Actually, this only be fixed if php uses mysqlnd
* Use the same CS for all json testsJakub Zelenka2015-11-1532-252/+185
|
* Fixed bug #70900 (SoapClient systematic out of memory error)Dmitry Stogov2015-11-121-1/+3
|
* Using default port in ldap_connect when NULL is passed (this was the ↵Côme Bernigaud2015-11-121-0/+3
| | | | | | behavior prior to 5.6.11) Note that passing 0 will also result in default port.
* Remove SNI test that trigger request to sni.velox.chJakub Zelenka2015-11-091-184/+0
| | | | | | | | | | | This has been requested by Kaspar Brand who provides sni.velox.ch. That site is only for interactive testing and not for unit/integration/regression testing. Although this test is run only in special cases (when SNI_TESTS is defined) it should still be removed. Also this test is not reliable as it depends on external resources.
* Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attributeMatteo Beccati2015-11-073-1/+207
|
* Fix compile warnings about comparison of unsigned expression always being trueChristopher Jones2015-11-072-5/+1
|
* Bump OCI8 versionChristopher Jones2015-11-072-58/+74
|
* Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)Christopher Jones2015-11-072-1/+59
|
* Make test for bug #70852 to cover all casesReeze Xia2015-11-051-1/+7
|
* Fixed bug #70852 Segfault getting NULL offset of an ArrayObject.Reeze Xia2015-11-052-2/+13
|
* Use standard title for new openssl testsJakub Zelenka2015-10-292-4/+4
|
* new tests to openssl module, don't covered yet.root2015-10-292-0/+32
|
* Another Fix for Bug #68344 MySQLi does not provide way to disable peer ↵Andrey Hristov2015-10-279-24/+76
| | | | | | | | | | | | certificate validation Added the possibility to explicitly state that the peer certificate should not be checked. Back to the default - checking the certificate. Exported MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT Usage : mysqli_real_connect( , , , , , MYSQLI_CLIENT_SSL | MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT) If mysqli_ssl_set() is not called, but only MYSQLI_CLIENT_SSL is passed, without the (don't) very flag, then no verification takes place.
* Fixed bug #70718 stream_select() when OpenSSL extension is loaded on PHP Win64Anatol Belski2015-10-261-1/+1
|
* Improve fix for Bug #68344 MySQLi does not provide way to disable peer ↵Andrey Hristov2015-10-223-7/+8
| | | | certificate validation
* Fix for Bug #68344 MySQLi does not provide way to disable peer certificate ↵Andrey Hristov2015-10-212-1/+47
| | | | validation
* Update the certificates needed for the mysqli testsAndrey Hristov2015-10-213-65/+175
|
* backport 262160e and 2d55e8c into 5.6Anatol Belski2015-10-201-2/+7
|
* Merge branch 'PHP-5.5' into PHP-5.6Ferenc Kovacs2015-10-192-5/+5
|\ | | | | | | | | | | | | | | * PHP-5.5: fixup, both catched by nikic use another character device in this test as /dev/console seems that it is different for lxc containers the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one let's try running our testsuite without sudo
| * Merge branch 'pr-1483' into PHP-5.5Ferenc Kovacs2015-10-192-5/+5
| |\ | | | | | | | | | | | | | | | | | | | | | * pr-1483: fixup, both catched by nikic use another character device in this test as /dev/console seems that it is different for lxc containers the de_DE(iso-8859-1) locale is not available on ubuntu by default, but there is no reason to require that over the utf-8 one let's try running our testsuite without sudo
| | * fixup, both catched by nikicFerenc Kovacs2015-08-241-1/+1
| | |
| | * use another character device in this test as /dev/console seems that it is ↵Ferenc Kovacs2015-08-241-2/+2
| | | | | | | | | | | | different for lxc containers
| | * the de_DE(iso-8859-1) locale is not available on ubuntu by default, but ↵Ferenc Kovacs2015-08-241-2/+2
| | | | | | | | | | | | there is no reason to require that over the utf-8 one
* | | Merge branch 'pull-request/1535' into PHP-5.6Stanislav Malyshev2015-10-183-6/+32
|\ \ \ | | | | | | | | | | | | | | | | * pull-request/1535: Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException
| * | | Bug #70561: Fix DirectoryIterator to throw OutOfBoundsExceptionBishop Bettini2015-09-233-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------------- DirectoryIterator implements SeekableIterator, which "should throw an OutOfBoundsException if the position is not seekable". As is, seek just returns and one must call valid(). This approach is different than most (all?) other SeekableIterator implementations and leads to developer confusion. See the bug report for a specific example.
* | | | Fix bug #64172Daniel Persson2015-10-183-57/+144
| | | | | | | | | | | | | | | | | | | | Check if the SQLSTATE error code is equal to PDO_ERR_NONE before we ask the driver. And if no error is reported skip the extra call to the driver.
* | | | Skip serialize test if ext/session is not loadedStanislav Malyshev2015-10-181-1/+3
| | | |
* | | | Remove wrong argument $session from SNMP::setSecurity()jubianchi2015-10-182-10/+8
| | | |
* | | | Fix SNMP::setSecurity() arginfo (Fixes bug #70476)jubianchi2015-10-182-11/+113
| | | |
* | | | C89 compatAnatol Belski2015-10-181-3/+4
| | | |
* | | | use spprintf instead (no need to estrdup afterwards).MiRacLe.RPZ2015-10-181-4/+3
| | | |
* | | | dblib's dbcolname can return null in some casesMiRacLe.RPZ2015-10-181-1/+1
| | | |
* | | | testcase fot bug #69757MiRacLe.RPZ2015-10-181-0/+32
| | | |
* | | | Segmentation fault on pdo_dblib::nextRowset (bug #69757)MiRacLe.RPZ2015-10-181-2/+9
| | | |
* | | | fix testAnatol Belski2015-10-121-0/+4
| | | |