summaryrefslogtreecommitdiff
path: root/ext/pgsql
Commit message (Collapse)AuthorAgeFilesLines
* No sure why this is failed in travisXinchen Hui2016-05-311-1/+1
|
* Attempt to fix tests failsXinchen Hui2016-05-313-3/+4
|
* workaround the extra new line in the test out on another envAnatol Belski2016-05-121-1/+1
|
* Fixed bug #72197 pg_lo_create arbitrary readAnatol Belski2016-05-122-1/+38
|
* Committed by accidentXinchen Hui2016-05-121-1/+1
|
* Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free)Xinchen Hui2016-05-123-5/+29
|
* Revert "Fixed bug #71820 pg_fetch_object bind parameters before call ↵Anatol Belski2016-05-092-114/+3
| | | | | | | | | constructor" This reverts commit b4eedd128ba9f61be08a50c94afd72837d7cf70b. This fixed bug #72151, and reverts the fix for bug #71820. See also bug #50636 and #49521 for the history.
* Fix escape sequences in pgsql.cNikita Popov2016-04-211-2/+2
|
* Add test for bug #72028Anatol Belski2016-04-161-0/+52
|
* Fixed bug #72028 (pg_query_params(): NULL converts to empty string)Xinchen Hui2016-04-151-1/+1
| | | | | I don't have a pgsql server by hand, so no test script, but the fix must be right.
* Fixed #71062 pg_convert() doesn't accept ISO 8601 for datatype timestampAnatol Belski2016-04-152-1/+40
|
* Fixed bug #71998 Function pg_insert does not insert when column type = inetAnatol Belski2016-04-102-3/+202
|
* Fixed bug #71820 pg_fetch_object bind parameters before call constructorAnatol Belski2016-03-172-3/+114
| | | | | | If we want to fetch into an object of a custom class that implemens __set handler, the corstructor has to be called first. The data passed to the constructor can be possibly required in __set handler.
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | Also re bug #71575.
* Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-03-021-1/+1
|\ | | | | | | | | * PHP-5.6: show correct MINFO with libpq >= 9.5.x
| * show correct MINFO with libpq >= 9.5.xAnatol Belski2016-03-021-1/+1
| |
* | Added missing semicolonDmitry Stogov2016-02-151-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-012-2/+2
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-012-2/+2
| |
* | Avoid reallocationsDmitry Stogov2015-09-141-3/+1
| |
* | remove TSRMLS_*Anatol Belski2015-08-021-1/+1
| | | | | | | | either remains or merged in from PHP5
* | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+2
| |
* | Fixed Bug #70092 pg_field_type() is too slowYasuo Ohgaki2015-07-261-1/+1
| |
* | Various warning fixesNikita Popov2015-07-171-6/+3
| |
* | Fix x86 buildKalle Sommer Nielsen2015-07-071-1/+1
| |
* | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-3/+3
| |
* | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-3/+3
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-45/+45
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-4/+4
| |
* | Make convert_to_* safe with rc>1Nikita Popov2015-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788.
* | Merge branch 'PHP-5.6'Remi Collet2015-06-091-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-5.6: fix test description Fixed Buf #68812 Unchecked return value. Fixed Buf #68812 Unchecked return value.
| * Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-06-091-1/+1
| |\ | | | | | | | | | | | | | | | * PHP-5.5: fix test description Fixed Buf #68812 Unchecked return value.
| | * fix test descriptionRemi Collet2015-06-091-1/+1
| | |
* | | Merge branch 'PHP-5.6'Remi Collet2015-05-201-0/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: move test
| * | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-05-201-0/+0
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: move test
| | * move testRemi Collet2015-05-201-0/+0
| | |
* | | Merge branch 'PHP-5.6'Remi Collet2015-05-201-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: fix new test
| * | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-05-201-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: fix new test
| | * fix new testRemi Collet2015-05-201-1/+1
| | |
* | | Merge branch 'PHP-5.6'Remi Collet2015-05-202-2/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: NEWS 5.6 NEWS 5.5 Fixed Bug #69667 segfault in php_pgsql_meta_data fix test output (32bits) Conflicts: ext/pgsql/pgsql.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-05-202-2/+34
| |\ \ | | |/ | | | | | | | | | | | | | | | * PHP-5.5: NEWS 5.5 Fixed Bug #69667 segfault in php_pgsql_meta_data fix test output (32bits)
| | * Fixed Bug #69667 segfault in php_pgsql_meta_dataRemi Collet2015-05-202-2/+34
| | | | | | | | | | | | Incomplete fix for #68741
* | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-04-141-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: Zend/zend_exceptions.c ext/curl/interface.c ext/dom/document.c ext/fileinfo/libmagic/softmagic.c ext/gd/gd.c ext/hash/hash.c ext/pgsql/pgsql.c ext/phar/phar.c ext/phar/phar_internal.h ext/standard/http_fopen_wrapper.c ext/standard/link.c ext/standard/streamsfuncs.c ext/xmlwriter/php_xmlwriter.c ext/zlib/zlib.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-04-141-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: ext/standard/http_fopen_wrapper.c
| | * Merge branch 'PHP-5.4.40' into PHP-5.5.24Stanislav Malyshev2015-04-111-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4.40: Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) Fixed bug #68901 (use after free) Fixed bug #68740 (NULL Pointer Dereference) Fix bug #66550 (SQLite prepared statement use-after-free) Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467 Fix bug #68601 buffer read overflow in gd_gif_in.c Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4" Fixed bug #69293 Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
| | | * Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)Stanislav Malyshev2015-04-111-1/+1
| | | |
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-03-221-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | * PHP-5.5: Bacport fix bug #68741 - Null pointer dereference Check that the type is correct
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-03-221-0/+3
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | * PHP-5.4: Bacport fix bug #68741 - Null pointer dereference Check that the type is correct
| | | * Bacport fix bug #68741 - Null pointer dereferenceStanislav Malyshev2015-03-221-0/+3
| | | |
* | | | Fixed unsigned underflowDmitry Stogov2015-04-081-4/+3
| | | |