validate width*height doesn't overflow in image file am: 242a925a11 am: 8f4b9de616

Change-Id: I1c0c2b0b1f9a4893b326127cecf07745487fd4c5