| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix pgsql use after free trying to reuse closed connection | Nikita Popov | 2019-04-10 | 1 | -8/+26 |
| | | | | | | | | | | | | When a connection is closed, we also need to remove the hash entry from the regular_list, as it now points to freed memory. To do this store a reverse mapping from the connection to the hash string. It would be nicer to introduce a wrapping structure for the pgsql link resource that could store the hash (and notices), but that would require large changes to the extension, so I'm going for a more minimal fix here. | ||||
| * | Fix use after free on pg_close() of default connection | Nikita Popov | 2019-04-10 | 1 | -5/+7 |
| | | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2018-11-18 | 1 | -1/+1 |
| |\ | | | | | | | | | * PHP-7.1: Fixed bug #77047 pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type | ||||
| | * | Fixed bug #77047 pg_convert has a broken regex for the 'TIME WITHOUT ↵ | Anatol Belski | 2018-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | TIMEZONE' data type Backport 369c991d and 282a63da to 7.1, closes #3634 | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2018-06-29 | 1 | -0/+1 |
| |\ \ | |/ | | | | | | | * PHP-7.1: Fixed bug #76548 pg_fetch_result did not fetch the next row | ||||
| | * | Fixed bug #76548 pg_fetch_result did not fetch the next row | Anatol Belski | 2018-06-29 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Xinchen Hui | 2018-01-18 | 1 | -0/+1 |
| |\ \ | |/ | | | | | | | * PHP-7.1: Fixed #75838 (Memory leak in pg_escape_bytea()) | ||||
| | * | Fixed #75838 (Memory leak in pg_escape_bytea()) | Xinchen Hui | 2018-01-18 | 1 | -0/+1 |
| | | | |||||
| | * | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2017-12-15 | 1 | -20/+15 |
| |\ \ | |/ | | | | | | | * PHP-7.1: Fixed bug #75671 pg_version() crashes when called on a connection to cockroach | ||||
| | * | Fixed bug #75671 pg_version() crashes when called on a connection to cockroach | Anatol Belski | 2017-12-15 | 1 | -20/+15 |
| | | | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Sara Golemon | 2017-10-24 | 1 | -0/+1 |
| |\ \ | |/ | | | | | | | * PHP-7.1: Decref default_link when clearing | ||||
| | * | Merge branch 'PHP-7.0' into PHP-7.1 | Sara Golemon | 2017-10-24 | 1 | -0/+1 |
| | |\ | | | | | | | | | | | | | * PHP-7.0: Decref default_link when clearing | ||||
| | | * | Decref default_link when clearing | Sara Golemon | 2017-10-24 | 1 | -0/+1 |
| | | | | |||||
| * | | | Merge branch 'PHP-7.1' into PHP-7.2 | Sara Golemon | 2017-10-23 | 1 | -13/+7 |
| |\ \ \ | |/ / | | | | | | | | | | * PHP-7.1: Bugfix#75419 Fix clearing of default link during pg_close() | ||||
| | * | | Merge branch 'PHP-7.0' into PHP-7.1 | Sara Golemon | 2017-10-23 | 1 | -13/+7 |
| | |\ \ | | |/ | | | | | | | | | | * PHP-7.0: Bugfix#75419 Fix clearing of default link during pg_close() | ||||
| | | * | Bugfix#75419 Fix clearing of default link during pg_close() | Sara Golemon | 2017-10-23 | 1 | -13/+7 |
| | | | | |||||
| | | * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | | | |||||
| | * | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | | | | |||||
| * | | | further normalizations, uint vs uint32_t | Anatol Belski | 2016-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | fix merge mistake yet one more replacement run | ||||
| * | | | Merge branch 'PHP-7.1' | Anatol Belski | 2016-11-22 | 1 | -2/+2 |
| |\ \ \ | |/ / | | | | | | | | | | | | | * PHP-7.1: Fix bug #73498 Add a test for bug 73498 | ||||
| | * | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2016-11-22 | 1 | -2/+2 |
| | |\ \ | | |/ | | | | | | | | | | | | | * PHP-7.0: Fix bug #73498 Add a test for bug 73498 | ||||
| | | * | Merge branch 'PHP-5.6' into PHP-7.0 | Anatol Belski | 2016-11-22 | 1 | -2/+2 |
| | | |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #73498 Add a test for bug 73498 | ||||
| | | | * | Fix bug #73498 | Craig Duncan | 2016-11-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Postgres uses the DELIMITER keyword since 7.3 And WITH is no longer required/used | ||||
| | | | * | Fix various int size overflows. | Stanislav Malyshev | 2016-09-12 | 1 | -93/+93 |
| | | | | | | | | | | | | | | | | | | | | | Add function for detection of string zvals with length that does not fit INT_MAX. | ||||
| | | * | | More int->size_t and string overflow fixes | Stanislav Malyshev | 2016-11-05 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | Merge branch 'PHP-7.1' | Stanislav Malyshev | 2016-11-05 | 1 | -3/+3 |
| |\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.1: More int->size_t and string overflow fixes | ||||
| | * | | | Merge branch 'PHP-7.0' into PHP-7.1 | Stanislav Malyshev | 2016-11-05 | 1 | -3/+3 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: More int->size_t and string overflow fixes | ||||
| | | * | | | More int->size_t and string overflow fixes | Stanislav Malyshev | 2016-11-05 | 1 | -3/+3 |
| | | |/ / | |||||
| * | | | | Drop some pieces of commented-out code | Nikita Popov | 2016-09-04 | 1 | -14/+0 |
| |/ / / | |||||
| * | | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2016-09-03 | 1 | -7/+8 |
| |\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: fix leak and error check order | ||||
| | * | | Merge branch 'PHP-5.6' into PHP-7.0 | Anatol Belski | 2016-09-03 | 1 | -7/+8 |
| | |\ \ | | |/ | | | | | | | | | | * PHP-5.6: fix leak and error check order | ||||
| | | * | fix leak and error check order | Anatol Belski | 2016-09-03 | 1 | -5/+6 |
| | | | | |||||
| | | * | Revert "Backport patch for bug #71820" | Anatol Belski | 2016-05-09 | 1 | -14/+1 |
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1b632cfe834bfd87d182566d7d960df7d10ded72. This fixed bug #72151, and reverts the fix for bug #71820. See also bug #50636 and #49521 for the history. | ||||
| | | * | Backport patch for bug #71820 | Anatol Belski | 2016-03-17 | 1 | -1/+14 |
| | | | | | | | | | | | | | Rev b4eedd128ba9f61be08a50c94afd72837d7cf70b | ||||
| * | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-23 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 1 | -8/+8 |
| | | | | |||||
| * | | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions. | Dmitry Stogov | 2016-06-21 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers. | ||||
| * | | | Merge branch 'PHP-7.0' | Anatol Belski | 2016-05-12 | 1 | -1/+3 |
| |\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #72197 pg_lo_create arbitrary read | ||||
| | * | | Fixed bug #72197 pg_lo_create arbitrary read | Anatol Belski | 2016-05-12 | 1 | -1/+3 |
| | | | | |||||
| * | | | Merge branch 'PHP-7.0' | Xinchen Hui | 2016-05-12 | 1 | -4/+11 |
| |\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free) | ||||
| | * | | Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free) | Xinchen Hui | 2016-05-12 | 1 | -4/+11 |
| | | | | |||||
| * | | | Merge branch 'PHP-7.0' | Anatol Belski | 2016-05-09 | 1 | -21/+3 |
| |\ \ \ | |/ / | | | | | | | | | | | | | * PHP-7.0: Revert "Fixed bug #71820 pg_fetch_object bind parameters before call constructor" Revert "Backport patch for bug #71820" | ||||
| | * | | Revert "Fixed bug #71820 pg_fetch_object bind parameters before call ↵ | Anatol Belski | 2016-05-09 | 1 | -21/+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. | ||||
| * | | | - get rid of EG(scope). zend_get_executed_scope() should be used instead. | Dmitry Stogov | 2016-04-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | - ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter. | ||||
| * | | | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵ | Dmitry Stogov | 2016-04-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | but is never used. | ||||
| * | | | Merge branch 'PHP-7.0' | Nikita Popov | 2016-04-21 | 1 | -2/+2 |
| |\ \ \ | |/ / | |||||
| | * | | Fix escape sequences in pgsql.c | Nikita Popov | 2016-04-21 | 1 | -2/+2 |
| | | | | |||||
