mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix an uninitialized value read in sqlite3async.c.
FossilOrigin-Name: 1cf2136c39239a6fea6ac2a555f55865dd517d93
This commit is contained in:
@ -1231,8 +1231,8 @@ static int asyncFullPathname(
|
||||
*/
|
||||
if( rc==SQLITE_OK ){
|
||||
int i, j;
|
||||
int n = nPathOut;
|
||||
char *z = zPathOut;
|
||||
int n = strlen(z);
|
||||
while( n>1 && z[n-1]=='/' ){ n--; }
|
||||
for(i=j=0; i<n; i++){
|
||||
if( z[i]=='/' ){
|
||||
|
Reference in New Issue
Block a user