summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
Commit message (Collapse)AuthorAgeFilesLines
* Added missing semicolonDmitry Stogov2016-02-151-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Avoid reallocationsDmitry Stogov2015-09-141-3/+1
| |
* | remove TSRMLS_*Anatol Belski2015-08-021-1/+1
| | | | | | | | either remains or merged in from PHP5
* | Fixed Bug #70092 pg_field_type() is too slowYasuo Ohgaki2015-07-261-1/+1
| |
* | Various warning fixesNikita Popov2015-07-171-6/+3
| |
* | 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-05-201-2/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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-201-2/+7
| |\ | | | | | | | | | | | | | | | | | | * 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-201-2/+7
| | | | | | | | | | | | 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
| | | |
* | | | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-1/+1
| | | |
* | | | Optimize zend_string_realloc() add more specialized versions ↵Dmitry Stogov2015-03-201-2/+2
| | | | | | | | | | | | | | | | zend_string_extend() and zend_string_truncate()
* | | | Use specialized macro for string zval creationDmitry Stogov2015-03-121-5/+5
| | | |
* | | | ZTS cleanupReeze Xia2015-03-081-2/+2
| | | |
* | | | Remove unnecessary debug warning (that also broke tests).Adam Harvey2015-03-051-3/+0
| | | |
* | | | Merge remote-tracking branch 'datibbaw/kill-ereg'Adam Harvey2015-03-051-21/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ereg/config.w32 ext/ereg/config0.m4 ext/ereg/ereg.c ext/ereg/php_ereg.h ext/ereg/php_regex.h ext/ereg/regex/engine.c ext/ereg/regex/main.c ext/ereg/regex/regcomp.c ext/ereg/regex/regerror.c ext/ereg/tests/split_error_002.phpt ext/ereg/tests/split_variation_003.phpt ext/ereg/tests/spliti_error_002.phpt ext/ereg/tests/spliti_variation_003.phpt ext/pgsql/pgsql.c sapi/apache/php_apache_http.h sapi/apache_hooks/php_apache_http.h
| * | | | Revert "Revert "Removing ext/ereg and dependencies""Tjerk Meesters2014-09-111-19/+15
| | | | | | | | | | | | | | | | | | | | This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
* | | | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | which also comply with the current semantics for such macros
* | | | | Merge branch 'PHP-5.6'Xinchen Hui2015-02-141-4/+6
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: ext/pgsql/pgsql.c
| * | | | Merge branch 'PHP-5.5' into PHP-5.6Xinchen Hui2015-02-141-4/+6
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | Conflicts: ext/pgsql/pgsql.c
| | * | | Fixed bug #68638 (pg_update() fails to store infinite values)Xinchen Hui2015-02-141-8/+7
| | | | |
| | * | | Merge branch 'PHP-5.4' of https://github.com/wfelipew/php-src into PHP-5.5Xinchen Hui2015-02-141-1/+4
| | |\ \ \
| | | * | | Fixed bug #68638 pg_update() fails to store infinite valuesWilliam Felipe Welter2015-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix indent
| | | * | | Fixed bug #68638 pg_update() fails to store infinite valuesWilliam Felipe Welter2015-02-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Check if value is "infinity" with strcasestr() to add quotes
| | | * | | Fixed bug #68638 pg_update() fails to store infinite values.William Felipe Welter2015-02-071-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Add quotes only if "infinity" values are received.
| | | * | | Fixed bug #68638 pg_update() fails to store infinite values.William Felipe Welter2015-02-031-1/+2
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Regex to check float values changed to accept "infinity" values and ignore case. Quotes are added to prevent syntax error on PostgreSQL.
* | | | | Fixed pgsql testsXinchen Hui2015-02-031-7/+0
| | | | |
* | | | | Merge branch 'master' into resource-apiXinchen Hui2015-02-031-13/+23
|\ \ \ \ \
| * \ \ \ \ Merge branch 'PHP-5.6'Yasuo Ohgaki2015-02-031-13/+23
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed Bug #65199 pg_copy_from() modifies input array variable Conflicts: ext/pgsql/pgsql.c
| | * | | | Merge branch 'PHP-5.5' into PHP-5.6Yasuo Ohgaki2015-02-031-10/+26
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * PHP-5.5: Fixed Bug #65199 pg_copy_from() modifies input array variable
| | | * | | Fixed Bug #65199 pg_copy_from() modifies input array variableYasuo Ohgaki2015-02-031-10/+26
| | | | | |
| | | * | | Bump yearXinchen Hui2015-01-151-1/+1
| | | | | |
| | * | | | bump yearXinchen Hui2015-01-151-1/+1
| | | | | |
* | | | | | Fixed test failsXinchen Hui2015-02-031-4/+7
| | | | | |
* | | | | | Ported pgsqlXinchen Hui2015-02-031-251/+318
|/ / / / /
* | | | | bump yearXinchen Hui2015-01-151-1/+1
| | | | |
* | | | | trailing whitespace removalStanislav Malyshev2015-01-101-92/+92
| | | | |