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

Skip to content
Commit a84d6e77 authored by Ashish Kumar Gupta's avatar Ashish Kumar Gupta
Browse files

Add safe check for mtp_data_header

header is initialized using mIobuf[0].bufs.data(). If mIobuf[0].bufs is NULL, dereferencing header could produce NPE.

Bug: 244106060
Change-Id: I8ca9c4a8c433bb1935879148d918ba6e120d5aa9
Test: presubmit
parent c2f42a7e
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