commit | eb87179aa130ef1f243f229f1cccc7f55d04ca62 | [log] [tgz] |
---|---|---|
author | Pawin Vongmasa <pawin@google.com> | Wed Jul 26 16:42:54 2017 -0700 |
committer | Robert Shih <robertshih@google.com> | Mon Oct 30 14:41:09 2017 -0700 |
tree | 7c01c815451c27126a69efbb924d144f67da6ed5 | |
parent | d799181f51e61c76f9581c986542c0de9cb30a5e [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