summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/vdbeblob.c
diff options
context:
space:
mode:
authorjturner <jturner@openbsd.org>2014-04-06 15:54:13 +0000
committerjturner <jturner@openbsd.org>2014-04-06 15:54:13 +0000
commit4bfc7e5fd1c14015d99a6ce5c2488b219e7e0173 (patch)
tree1dbea829151c123f9d5647aa3633c43208a3128b /lib/libsqlite3/src/vdbeblob.c
parentDon't suggest people use env(1) in conjunction with sudo. It is (diff)
downloadwireguard-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/vdbeblob.c')
-rw-r--r--lib/libsqlite3/src/vdbeblob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsqlite3/src/vdbeblob.c b/lib/libsqlite3/src/vdbeblob.c
index 4b34f2c2957..cf7495e5b4f 100644
--- a/lib/libsqlite3/src/vdbeblob.c
+++ b/lib/libsqlite3/src/vdbeblob.c
@@ -133,7 +133,7 @@ int sqlite3_blob_open(
** which closes the b-tree cursor and (possibly) commits the
** transaction.
*/
- static const int iLn = __LINE__+4;
+ static const int iLn = VDBE_OFFSET_LINENO(4);
static const VdbeOpList openBlob[] = {
/* {OP_Transaction, 0, 0, 0}, // 0: Inserted separately */
{OP_TableLock, 0, 0, 0}, /* 1: Acquire a read or write lock */