commit | a946d844a77906072f5eb7093d41db465d6514bb | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Wed Sep 02 16:46:59 2015 -0700 |
committer | Robert Shih <robertshih@google.com> | Wed Sep 02 18:02:12 2015 -0700 |
tree | 5607592deedd9e9538aad3736253a37dea5d38ee | |
parent | 66b24004345ff8a688e8548409b0b7d5a8902232 [diff] |
Zero out return values in audio binder calls More specifically when handling GET_OUTPUT_FOR_ATTR in IAudioPolicyService. This prevents leaking a uninitialized `output` across binder if getOutputForAttr were to encounter errors. Bug: 23756261 Change-Id: Ibff8a1249a4e8a3c89a33a540dda428b10d6ca82