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
Loading
Please register or sign in to comment