Skip to content
Snippets Groups Projects
Unverified Commit c913200b authored by tangcheng's avatar tangcheng Committed by Simão Gomes Viana
Browse files

Fix libgui cts crash bug


While enabling #define LOG_NDEBUG 0, run camera cts test command:
run cts -m CtsCameraTestCases -t android.hardware.camera2.cts.MultiViewTest#testSharedSurfaceImageReaderSwitch
the libgui will crash due to nullptr, fix this by add nullptr
judgement when pointing to the Graphicbuffer handle
Bug: 228349805

Signed-off-by: default avatartangcheng <tangcheng@xiaomi.com>
Change-Id: I69a84bdb5208b16df88f5f09f45c1a93ad2afe01
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 2aa75962
No related branches found
No related tags found
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