summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2016-09-02 11:36:46 -0700
committergitbuildkicker <android-build@google.com>2016-09-27 15:56:39 -0700
commitace612c5f838944d1b88be18e317709e640becc2 (patch)
tree19641a5d5048813927d237aeb118f8205cfe460d
parent23ffe421812180b20043b8a108a72b2e95ef1f0c (diff)
downloadframeworks_av-ace612c5f838944d1b88be18e317709e640becc2.zip
frameworks_av-ace612c5f838944d1b88be18e317709e640becc2.tar.gz
frameworks_av-ace612c5f838944d1b88be18e317709e640becc2.tar.bz2
Fix stack content leak vulnerability in mediaserver
bug: 30875060 Change-Id: I03f4d08b7b31ac5b507cfc9e65e5607c73972d95 (cherry picked from commit 9a6861cbd3bb0e1b8fe4c105795256ee032f9664)
-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 7c709cd..6f6530b 100644
--- a/media/libmedia/IDrm.cpp
+++ b/media/libmedia/IDrm.cpp
@@ -912,7 +912,7 @@ status_t BnDrm::onTransact(
readVector(data, keyId);
readVector(data, message);
readVector(data, signature);
- bool match;
+ bool match = false;
uint32_t result = verify(sessionId, keyId, message, signature, match);
reply->writeInt32(match);
reply->writeInt32(result);