Fix a bug in boundary checking.

Change-Id: Ifc741da9da6f61c8d3c1f675ec6b8a96570f877d
1 file changed