com php-src: Fixed Conditional jump or move depends on uninitialised value: ext/sqlite3/sqlite3.c

From: Date: Wed, 14 Oct 2015 02:19:57 +0000
Subject: com php-src: Fixed Conditional jump or move depends on uninitialised value: ext/sqlite3/sqlite3.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89392@lists.php.net to get a copy of this message
Commit: 010509355d2ab1a758fa21bd7db5fb9bb3c9fd15 Author: Xinchen Hui <laruence@gmail.com> Wed, 14 Oct 2015 10:19:57 +0800 Parents: d398cc9d10ac47c64ce7a462dcd65bdc3274a822 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=010509355d2ab1a758fa21bd7db5fb9bb3c9fd15 Log: Fixed Conditional jump or move depends on uninitialised value Changed paths: M ext/sqlite3/sqlite3.c Diff: diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c index cc9c5f5..12340f9 100644 --- a/ext/sqlite3/sqlite3.c +++ b/ext/sqlite3/sqlite3.c @@ -871,6 +871,8 @@ static int php_sqlite3_callback_compare(void *coll, int a_len, const void *a, in if ((ret = zend_call_function(&collation->fci.fci, &collation->fci.fcc)) == FAILURE) { php_error_docref(NULL, E_WARNING, "An error occurred while invoking the compare callback"); } + } else { + ZVAL_UNDEF(&retval); } zval_ptr_dtor(&zargs[0]);

« previous php.cvs (#89392) next »