commit | 9f506bb9c8f365708df29ffac4164c1b6e30f340 | [log] [tgz] |
---|---|---|
author | chloedai <chloedai@google.com> | Tue Nov 16 07:41:08 2021 +0000 |
committer | chloedai <chloedai@google.com> | Thu Nov 18 03:20:57 2021 +0000 |
tree | edc12200ac01a8978d8db4f7eb5766146267ec91 | |
parent | 08886a0ea9d89d22f911d663d55b9fff2b8a3846 [diff] |
Fix the problem of dereferencing a NULL pointer The pointer st33spi will be dereferenced after it was positively checked for NULL, isolate the condition st33spi == NULL and return errno ENODEV Bug: 205943658 Bug: 205950808 Bug: 205950761 Test: Manual Change-Id: I23642ef8a8261de11aa58e5c9ff2e30476062009