[automerger skipped] Add buffer size checks to eliminate security vulnerability. am: 0fef164d3d -s ours am: 40c6e10c72 -s ours

am skip reason: Change-Id I5977e216bcaecd4ed10c0a991bed2860e6d627d9 with SHA-1 b800e578d8 is in history

Change-Id: If6bec4b991ab6425335a412b3a64195db16bb77a
tree: 9e55f209b01d764244f7910d3b322302c8d7df67
  1. Android.bp
  2. CleanSpec.mk
  3. src/