summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Yi-Yo Chiang <yochiang@google.com> 2021-07-02 21:26:00 +0800
committer Yi-Yo Chiang <yochiang@google.com> 2021-07-03 19:20:02 +0800
commitec14a4ded877358821e013bece5b52fcf96b1354 (patch)
tree04eaff02046c49d5925836d75b0415cba8b8b846 /rust/compiler.go
parent36d8e4e201e5bcecb0fe794c718b9d92c63364b3 (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/compiler.go')
0 files changed, 0 insertions, 0 deletions