mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
This commit is contained in:
@@ -1788,7 +1788,7 @@ static int php_sqlite3_authorizer(void *autharg, int access_type, const char *ar
|
||||
switch (access_type) {
|
||||
case SQLITE_ATTACH:
|
||||
{
|
||||
if (strncmp(arg3, ":memory:", sizeof(":memory:")-1)) {
|
||||
if (strncmp(arg3, ":memory:", sizeof(":memory:")-1) && *arg3) {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
#if PHP_API_VERSION < 20100412
|
||||
|
||||
Reference in New Issue
Block a user