diff options
| author | 2021-07-02 21:26:00 +0800 | |
|---|---|---|
| committer | 2021-07-03 19:20:02 +0800 | |
| commit | ec14a4ded877358821e013bece5b52fcf96b1354 (patch) | |
| tree | 04eaff02046c49d5925836d75b0415cba8b8b846 /rust/coverage.go | |
| parent | 36d8e4e201e5bcecb0fe794c718b9d92c63364b3 (diff) | |
cc/cc.go: Harden GetSnapshot() against nil pointer panic
* Retrieve SnapshotInfo only if the calling module is device-variant.
* Test for nil-ness before calling ctx.OtherModuleProvider().
Bug: 192647618
Test: Presubmit
Change-Id: Ida8582f756e1b15f8c14c816ed6e736b47995877
Diffstat (limited to 'rust/coverage.go')
0 files changed, 0 insertions, 0 deletions