commit | 3f8f2eb3fd92e2f7f3924331909c8e99702a6294 | [log] [tgz] |
---|---|---|
author | Armando Montanez <amontanez@google.com> | Thu Dec 06 10:26:35 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Dec 06 22:49:43 2018 +0000 |
tree | 314376ba653771dd3a08b88e3aaf401e492d0f4e | |
parent | 79aeafbf8df71722630f48fe06bc66296c371463 [diff] |
[wlan] Fix use-after-free in TimElement unit test The vector is freed when FindAndParseTim() returns since the vector is instantiated as an argument to the function. This change keeps the vector in memory so the checks following the function call can safely access the vector's contents. Test: Test now passes on ASan garnet build. Change-Id: I96338cf2fc8819c14d93f02d7492db4578a6a57d