1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Make sure the output of sqlite3OsFullPathname is initialized even if the

fails due to I/O or OOM errors.

FossilOrigin-Name: e4943adb83819dee06e2e9da25ff6d967ca170de
This commit is contained in:
drh
2009-11-16 23:36:33 +00:00
parent f6a82030a8
commit 68ff78b1b0
3 changed files with 11 additions and 10 deletions

View File

@@ -138,6 +138,7 @@ int sqlite3OsFullPathname(
int nPathOut,
char *zPathOut
){
zPathOut[0] = 0;
return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
}
#ifndef SQLITE_OMIT_LOAD_EXTENSION