Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 517aab51 authored by shla's avatar shla Committed by Jay Patel
Browse files

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
parent 9edfd34d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment