summaryrefslogtreecommitdiffstats
path: root/media/libmedia
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2016-02-08 17:52:25 -0800
committerThe Android Automerger <android-build@google.com>2016-03-01 15:25:30 -0800
commit7227fe0eb793c3e9e313df7454862d360c9bd360 (patch)
tree10f2f2baca5284c586e51cfb992985ba14800273 /media/libmedia
parent52fbd46e2b7bc185628e94178cc3ec8e2a340b40 (diff)
downloadframeworks_av-7227fe0eb793c3e9e313df7454862d360c9bd360.zip
frameworks_av-7227fe0eb793c3e9e313df7454862d360c9bd360.tar.gz
frameworks_av-7227fe0eb793c3e9e313df7454862d360c9bd360.tar.bz2
Fix info leak vulnerability of IDrm
bug: 26323455 Change-Id: I25bb30d3666ab38d5150496375ed2f55ecb23ba8
Diffstat (limited to 'media/libmedia')
-rw-r--r--media/libmedia/IDrm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/IDrm.cpp b/media/libmedia/IDrm.cpp
index b1ad0c5..7c709cd 100644
--- a/media/libmedia/IDrm.cpp
+++ b/media/libmedia/IDrm.cpp
@@ -658,7 +658,7 @@ status_t BnDrm::onTransact(
Vector<uint8_t> request;
String8 defaultUrl;
- DrmPlugin::KeyRequestType keyRequestType;
+ DrmPlugin::KeyRequestType keyRequestType = DrmPlugin::kKeyRequestType_Unknown;
status_t result = getKeyRequest(sessionId, initData, mimeType,
keyType, optionalParameters, request, defaultUrl,