Fix heap buffer overflow in ipp.c am: b58481780c
am: 3ec6f0bd9b

Change-Id: Ifd03033a949bf42fa7e3d5b69d10fba81a4373b7