Fix security vulnerability: Effect command might allow negative indexes

Bug: 32588016
Bug: 32585400

Test: Use POC bug or cts security test
Change-Id: I5ef8c756369d488ad5903c163584f24de63d73e3
(cherry picked from commit 500a9feaf816c719241de83f2ee65c8e2d7ff269)
1 file changed
tree: c7bf8b31a1e93bb039d98d4545eb89a122d47b64
  1. Android.mk
  2. hal/
  3. legacy/
  4. post_proc/
  5. visualizer/
  6. voice_processing/