diff options
author | 2014-04-06 15:54:13 +0000 | |
---|---|---|
committer | 2014-04-06 15:54:13 +0000 | |
commit | 4bfc7e5fd1c14015d99a6ce5c2488b219e7e0173 (patch) | |
tree | 1dbea829151c123f9d5647aa3633c43208a3128b /lib/libsqlite3/src/vdbeaux.c | |
parent | Don't suggest people use env(1) in conjunction with sudo. It is (diff) | |
download | wireguard-openbsd-4bfc7e5fd1c14015d99a6ce5c2488b219e7e0173.tar.xz wireguard-openbsd-4bfc7e5fd1c14015d99a6ce5c2488b219e7e0173.zip |
Update sqlite to 3.8.4.3. Recommended update to fix a problem that might
cause an incorrect query result and a potential buffer overread that
could corrupt a database file. Further details here:
http://sqlite.org/changes.html.
"sure ok" landry@
Diffstat (limited to 'lib/libsqlite3/src/vdbeaux.c')
-rw-r--r-- | lib/libsqlite3/src/vdbeaux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libsqlite3/src/vdbeaux.c b/lib/libsqlite3/src/vdbeaux.c index a641a72ec8e..96fd4016dad 100644 --- a/lib/libsqlite3/src/vdbeaux.c +++ b/lib/libsqlite3/src/vdbeaux.c @@ -3432,6 +3432,7 @@ int sqlite3VdbeRecordCompare( }else{ idx1 = getVarint32(aKey1, szHdr1); d1 = szHdr1; + if( d1>(unsigned)nKey1 ) return 1; /* Corruption */ i = 0; } |