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

Change-Id: I7aa9232558bb167161b14cce700039794291e7ba