diff options
author | shla <shla@synaptics.com> | 2021-06-03 22:47:40 -0700 |
---|---|---|
committer | Jay Patel <pateljay@google.com> | 2021-06-07 13:25:13 +0000 |
commit | 517aab51c9e6aa316fdb4359dea0654889c79a45 (patch) | |
tree | 67de3d7b62008a74dcdeaab8739cbcd9c6eae8aa /identity/support/src/cppbor_parse.cpp | |
parent | 9edfd34da935b200e8d868e29d15b6539229a2da (diff) |
Fix a null pointer access in Tuner VTS
With Vts suite "11_r4/7337463”, meet a crash issue when run case "PerInstance/TunerRecordHidlTest#LnbRecordDataFlowWithTsRecordFilterTest/0_default".
The crash is introduced by https://android.googlesource.com/platform/hardware/interfaces/+/7402e02ebc5d1a4d7f29e7900f0a069faa2236bc
The "mLnbId" is a null pointer but it does "*mLnbId = ids[0];" which will obviously lead to crash.
After changing to "mLnbId = &ids[0];", all cases can PASS.
Bug: 189974145
Change-Id: Ic593bfd00fa53365af4bbfeb7512e392f516468c
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions