Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: third_party/sqlite/src/test/expr.test

Issue 2370463002: [backport] Address integer overflow in sqlite3MulInt64. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/util.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/expr.test
diff --git a/third_party/sqlite/src/test/expr.test b/third_party/sqlite/src/test/expr.test
index 7d7b8ce5a7bb48658dfdc591e9210e3745c53796..7a6d4772590e2e3e608d9c02f538dab1c988da5f 100644
--- a/third_party/sqlite/src/test/expr.test
+++ b/third_party/sqlite/src/test/expr.test
@@ -308,6 +308,33 @@ ifcapable floatingpoint {if {[working_64bit_int]} {
test_realnum_expr expr-1.257\
{i1=-4294967296, i2=-2147483647} {i1*i2} 9223372032559808512
+ test_realnum_expr expr-1.260\
+ {i1=3037000500, i2=3037000500} {i1*i2} 9.22337203700025e+18
+ test_realnum_expr expr-1.261\
+ {i1=3037000500, i2=-3037000500} {i1*i2} -9.22337203700025e+18
+ test_realnum_expr expr-1.262\
+ {i1=-3037000500, i2=3037000500} {i1*i2} -9.22337203700025e+18
+ test_realnum_expr expr-1.263\
+ {i1=-3037000500, i2=-3037000500} {i1*i2} 9.22337203700025e+18
+
+ test_realnum_expr expr-1.264\
+ {i1=3037000500, i2=3037000499} {i1*i2} 9223372033963249500
+ test_realnum_expr expr-1.265\
+ {i1=3037000500, i2=-3037000499} {i1*i2} -9223372033963249500
+ test_realnum_expr expr-1.266\
+ {i1=-3037000500, i2=3037000499} {i1*i2} -9223372033963249500
+ test_realnum_expr expr-1.267\
+ {i1=-3037000500, i2=-3037000499} {i1*i2} 9223372033963249500
+
+ test_realnum_expr expr-1.268\
+ {i1=3037000499, i2=3037000500} {i1*i2} 9223372033963249500
+ test_realnum_expr expr-1.269\
+ {i1=3037000499, i2=-3037000500} {i1*i2} -9223372033963249500
+ test_realnum_expr expr-1.270\
+ {i1=-3037000499, i2=3037000500} {i1*i2} -9223372033963249500
+ test_realnum_expr expr-1.271\
+ {i1=-3037000499, i2=-3037000500} {i1*i2} 9223372033963249500
+
}}
ifcapable floatingpoint {
« no previous file with comments | « third_party/sqlite/src/src/util.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698