]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When sqlite3VdbeAddOp() fails due to an OOM fault, return an address of 1
authordrh <drh@noemail.net>
Fri, 26 Jun 2009 14:04:51 +0000 (14:04 +0000)
committerdrh <drh@noemail.net>
Fri, 26 Jun 2009 14:04:51 +0000 (14:04 +0000)
commitc42ed16e5c83ca5af8c6b415f17b16bc403e566d
tree312143c373d60f72b83a8b5823ac8e8050ed6b14
parent31559aee71495e6302c9e57a434b7cd513094ff2
When sqlite3VdbeAddOp() fails due to an OOM fault, return an address of 1
rather than zero so that there appears to always be a prior instruction.
This prevents a negative jump-to address computation in where.c following
an OOM fault. (CVS 6822)

FossilOrigin-Name: fe02339cb2f61c1e8a356e2d0ce9c3aef6e6cd8d
manifest
manifest.uuid
src/vdbeaux.c