SIGN IN SIGN UP

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
D
drh committed
cfd654bf2a3a2f546a3a4507ca196be97f2a37a1
Parent: 92e4feb