Fix heap buffer overflow in ipp.c
am: b58481780c

Change-Id: Ie03d58011552dff6fdd739663936d9dc7aff3d85