commit | b22a60235934eaf9f09fd29d817a8a0fb461f4d6 | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Wed Mar 09 12:22:51 2022 -0800 |
committer | Winson <chiuwinson@google.com> | Wed Mar 09 12:24:14 2022 -0800 |
tree | b61b97c2c7b04ba82d088fc0dab18eb7f4e434f2 | |
parent | 4359c9d3d5820fcdc980ed9b1be0ac2cfe48511a [diff] |
Null check signature array before comparison SigningDetails.UNKNOWN is defined with a null array, so if any package fails to scan signatures, this code would crash with an NPE. Instead of failing, just treat it as an empty signature array. It's unclear what caused this to pop up now, as this code hasn't changed in a long while. Bug: 223469467 Test: presubmit Change-Id: Icdcfaaa3586898873b719c74dd5662b03e3fabae