diff options
| author | 2014-09-29 15:32:03 +0200 | |
|---|---|---|
| committer | 2014-11-24 07:31:31 +0100 | |
| commit | 35d6a4f75bc3e02e5983fb800bc7538d51d01a45 (patch) | |
| tree | 2e5f55f4f68ac3f50d0169649a0bf8a6f3d27f9b /libs/hwui/ProgramCache.cpp | |
| parent | a58336f6c8aa44373485e5a6d7ec32677387a935 (diff) | |
Handle NULL keys and NULL values in MediaDrm JNI HashMap
If getKeyRequest() of MediaDrm was called with a HashMap containing
NULL keys or NULL values then the mediaserver crashed.
This modification adds NULL checks and throw
IllegalArgumentException as expected.
Change-Id: Ide82efe0f6bd28c8ac3f9aa048d9794f2ccc8fac
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions