OSDN Git Service

IAudioFlinger: add checks on binder calls
authorEric Laurent <elaurent@google.com>
Thu, 2 Apr 2015 20:49:15 +0000 (13:49 -0700)
committerEric Laurent <elaurent@google.com>
Thu, 2 Apr 2015 21:13:57 +0000 (21:13 +0000)
commitf75c2fef14354024ec27bff1444f9e50b5ef55a9
tree55e9f67a818b544ce272585969121ce914f1b31e
parent74fa6ee5904fa48f7f3caddcf0d96cd9f5575b39
IAudioFlinger: add checks on binder calls

Limit number of ports and patches listed by
LIST_AUDIO_PATCHES and LIST_AUDIO_PORTS.

Also fix typo causing wrong pointer to be used when writing to Parcel.

Bug: 19573085.
Change-Id: I41a9c710e45738a4f11990160587856c429a4646
media/libmedia/IAudioFlinger.cpp