Fix potential integer overflow in range checking

Change-Id: I20b951bb67f4c2147055751a8cd9534ceddc7215
1 file changed