Test: /ext/pdo_pgsql/tests/bug72570.phpt - Version 7.2.20        

Bug #72570 Segmentation fault when binding parameters on a query without placeholders
Submitted: 2016-07-10 11:25:05 Modified: 2016-07-10 11:28:34
From: mbeccati Assigned: mbeccati
Status: Closed Package: PDO PgSQL
PHP Version: 7.0.8 OS: Any

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
001- string(5) "08P01"
002+ Stack trace:
003+ #0 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug72570.php(3): PDOTest::test_factory('/usr/local/src/...')
006+ #3 {main}
007+ thrown in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35
1 (33%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
001- string(5) "08P01"
002+ Stack trace:
003+ #0 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug72570.php(3): PDOTest::test_factory('/home/plui/src/...')
006+ #3 {main}
007+ thrown in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35