mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fixed access to uninitialized value (in case of exception)
This commit is contained in:
parent
bf7d3e0c23
commit
7649a35d52
@ -840,7 +840,7 @@ static int php_sqlite3_callback_compare(void *coll, int a_len, const void *a, in
|
||||
zval retval;
|
||||
int ret;
|
||||
|
||||
|
||||
ZVAL_UNDEF(&retval);
|
||||
collation->fci.fci.size = (sizeof(collation->fci.fci));
|
||||
collation->fci.fci.function_table = EG(function_table);
|
||||
ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func);
|
||||
|
Loading…
Reference in New Issue
Block a user