Prevent infinite loop in case of integer overflow.

Bug: 26331754
Change-Id: I29068159204ecd2e03e44fbb2375d2e116774e07
1 file changed