Test: /ext/sqlite3/tests/bug77967.phpt - Version 7.1.29-dev        

Security #77967 Bypassing open_basedir restrictions via file uris
Submitted: 2019-05-04 10:04:04 Modified: 2019-05-28 04:36:42
From: radimre83 Assigned:
Status: Closed Package: SQLite related
PHP Version: 7.3.5 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Warning: SQLite3::__construct(): open_basedir restriction in effect. File(/home/travis/build/smalyshev/php-src/ext/sqlite3/tests/safe/main.db) is not within the allowed path(s): (./safe) in %s/bug77967.php on line 2
001- Warning: SQLite3::exec(): open_basedir restriction in effect. File(%spoc.db) is not within the allowed path(s): (./safe) in %sbug77967.php on line %d
003+ Fatal error: Uncaught Exception: open_basedir prohibits opening /home/travis/build/smalyshev/php-src/ext/sqlite3/tests/safe/main.db in %s/bug77967.php:2
004+ Stack trace:
005+ #0 %s/bug77967.php(2): SQLite3->__construct('/home/travis/bu...', 70)
006+ #1 {main}
007+ thrown in %s/bug77967.php on line 2
003- Warning: SQLite3::exec(): not authorized in %sbug77967.php on line %d
004-
005- Warning: SQLite3::exec(): unknown database sdb in %sbug77967.php on line %d
006-
007- Warning: SQLite3::exec(): no such table: sdb.t in %sbug77967.php on line %d
008- ===DONE===