diff options
author | drh <drh@noemail.net> | 2020-07-24 09:17:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-07-24 09:17:42 +0000 |
commit | 0c52f5a2b02ed67fef90e498273d35a3596e0b9a (patch) | |
tree | d68878ac8dceb1d01a172259cc96b0d4e6551288 /src/os_unix.c | |
parent | d9059bdb5b9e96d06c987ecbe29725912e092fd9 (diff) | |
download | sqlite-0c52f5a2b02ed67fef90e498273d35a3596e0b9a.tar.gz sqlite-0c52f5a2b02ed67fef90e498273d35a3596e0b9a.zip |
Fix other potentiall pointer aliasing problems associated with subclassing
of the sqlite3_file object for various VFS implementations.
FossilOrigin-Name: 270ac1a0f232d75537be40abae559004e950b992cb2c7e94cd6de66e96ae17bd
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 3571f3f2c..fc5415333 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5692,7 +5692,7 @@ static int fillInUnixFile( if( rc!=SQLITE_OK ){ if( h>=0 ) robust_close(pNew, h, __LINE__); }else{ - pNew->pMethod = pLockingStyle; + pId->pMethods = pLockingStyle; OpenCounter(+1); verifyDbFile(pNew); } |