Add buffer size checks to eliminate security vulnerability. am: 0fef164d3d

Change-Id: Ifb03c3496ac450201fc205708a66de4bc7db5a9c
tree: 71c79ea264ae9ad21823b08674f61ed8f0e54350
  1. Android.bp
  2. CleanSpec.mk
  3. src/