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

Skip to content
Commit 2cc68fbf authored by Fan Xu's avatar Fan Xu
Browse files

Fix bufferhubd crash in buffer_hub-test

Add some null and valid check in constructors to prevent bufferhubd from
crash when user enter invalid params.

Test: "atest frameworks/native/libs/vr/libbufferhub/buffer_hub-test.cpp#TestCreateBufferHubBufferFails"
and check "adb logcat | grep bufferhub"
No crashing reports.
atest buffer_hub-test: passed
Fix: 118624156

Change-Id: I56e83808f38ab146f1fc61d1b736dd0be640503d
parent 5e7ae376
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment