Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit 3aa083c

Browse files
committed
Corrected segfault when using unwriteable cache directory.
We were not exiting the control flow properly for a certain type of error. Change-Id: I66775e0d0cd10ec968dbc0f6a6fc94f943d9ee0e Reviewed-on: http://review.couchbase.org/34644 Reviewed-by: Mark Nunberg <mnunberg@haskalah.org> Tested-by: Brett Lawson <brett19@gmail.com>
1 parent a07e381 commit 3aa083c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

create.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ void php_couchbase_create_impl(INTERNAL_FUNCTION_PARAMETERS, int oo)
392392
couchbase_report_error(INTERNAL_FUNCTION_PARAM_PASSTHRU, oo,
393393
cb_exception,
394394
COUCHBASE_G(config_cache_error));
395+
return;
395396
}
396397
}
397398

0 commit comments

Comments
 (0)