commit | 212335cbc6e8795c3cfb332e7b119e03cf33f603 | [log] [tgz] |
---|---|---|
author | Pawin Vongmasa <pawin@google.com> | Wed Jul 26 16:42:54 2017 -0700 |
committer | Pawin Vongmasa <pawin@google.com> | Wed Jul 26 16:42:54 2017 -0700 |
tree | bec269a31f60790ba00a8af44347ef794c1371f1 | |
parent | d371ee54c05f51a7f94471c09244b8637b922594 [diff] |
Fix the UAF bug caused by a dead stack variable The original code attempts to copy data from a location pointed to by a local variable that has gone out of scope. This CL moves the copy operation into the scope. Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 63773604 Change-Id: I980630b6ac30875c2df65664668d4d6b7414f3a7