commit | d5e35f0cb8f8c13cb8fbb5490e7e0b40b6c6ccb5 | [log] [tgz] |
---|---|---|
author | andrewlewis <andrewlewis@google.com> | Mon Oct 26 12:36:39 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 26 12:36:39 2020 +0000 |
tree | 894ec726d0dfec0ceb963239941a94264337780f | |
parent | ebd91fc559603446173ccce322b51d140884fb5c [diff] | |
parent | 35c7db940ff8fc251862f4a3fd8b37590d9b2a9a [diff] |
Merge "Initialize local uuid array with zeros"
diff --git a/media/libmedia/IMediaPlayer.cpp b/media/libmedia/IMediaPlayer.cpp index 20bc23d..4c76fd2 100644 --- a/media/libmedia/IMediaPlayer.cpp +++ b/media/libmedia/IMediaPlayer.cpp
@@ -958,7 +958,7 @@ case PREPARE_DRM: { CHECK_INTERFACE(IMediaPlayer, data, reply); - uint8_t uuid[16]; + uint8_t uuid[16] = {}; data.read(uuid, sizeof(uuid)); Vector<uint8_t> drmSessionId; readVector(data, drmSessionId);