]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix all known instances of signed-integer overflow. Within SQL expressions,
authordrh <drh@noemail.net>
Sat, 5 Mar 2011 20:59:46 +0000 (20:59 +0000)
committerdrh <drh@noemail.net>
Sat, 5 Mar 2011 20:59:46 +0000 (20:59 +0000)
commit158b9cb965519d7f8d3e4d5f6c45bce842fc51d4
tree7df38bfacee8df94828905ea2e62bb62f554154e
parentcfd654bf2a3a2f546a3a4507ca196be97f2a37a1
Fix all known instances of signed-integer overflow.  Within SQL expressions,
integer overflow now forces coercion to floating point.  The shift operators
work with any integer right-hand operand with negative values reversing
the direction of the shift.

FossilOrigin-Name: abf21394124a0af46f072793718964cee2ce55d0
manifest
manifest.uuid
src/expr.c
src/func.c
src/printf.c
src/sqliteInt.h
src/util.c
src/vdbe.c
src/vdbemem.c
test/expr.test