service: metadata: Add checks for heap overflow

Avoid heap overflow during calloc, when writing data to the allocated
heap, which was happening due to integer has no boundary check.

Change-Id: I2522308a6600a81b501747c5c8fa5042485c6941
1 file changed
tree: 5a0358a5805b96f6782bcb55481456100ae622aa
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager