OSDN Git Service

DO NOT MERGE - audio policy service: fix possible memory overflow
authorEric Laurent <elaurent@google.com>
Fri, 6 Feb 2015 18:44:24 +0000 (10:44 -0800)
committerEric Laurent <elaurent@google.com>
Wed, 25 Mar 2015 18:55:09 +0000 (18:55 +0000)
commit2fdd16b3cbe1c1e53d1c4b305f4c0174b995ad1a
tree24e2230b0bd1fb18c7b37effe1af168757326959
parent8e2b445fabd05132de57226de71c7860a5391954
DO NOT MERGE - audio policy service: fix possible memory overflow

Add limit on number of audio ports and patches requested by
listaudioPorts() and listAudioPatches().

Bug: 19261727.
Change-Id: I21dfdf11cf805734cc3b7b2a85762c5598f60580
(cherry picked from commit 1d670b11313250442455a22f1056ad649d607fb2)
media/libmedia/IAudioPolicyService.cpp