mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
This commit is contained in:
parent
400769fd2a
commit
b643e123ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user