commit | af61ab6bc681f40e69a131431744a45683ec0c32 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Thu Jun 06 06:33:20 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Thu Jun 06 06:33:20 2019 -0700 |
tree | 08b1d3a736dc4dffca64dc884b541cef97279737 | |
parent | e305e7fef7d172fad9893430d54bb5218ff7df0f [diff] |
TraceBenchmark: Defend against bad data In the unlikely event of bad data from the file, we make sure it's not able to write into stack memory by giving a buffer size to our sscanf() format string. Test: TreeHugger Change-Id: Ie3722c39def58f53305073cbadb8fd3a2081cc6a