Fix an instance of signed arithmetic overflow and an one bit-shift overflow.

Mark six other signed arithmetic overflow locations that need fixing.

FossilOrigin-Name: 04abab71ecd52f6070b9f84781a3df3d6dba7722
This commit is contained in:
drh
2011-03-05 13:54:15 +00:00
parent 92e4feb74c
commit cfd654bf2a
12 changed files with 33 additions and 27 deletions
+1 -1
View File
@@ -400,7 +400,7 @@ void sqlite3VXPrintf(
v = va_arg(ap,int);
}
if( v<0 ){
longvalue = -v;
longvalue = -v; /* CLANG */
prefix = '-';
}else{
longvalue = v;