Skip to content
Commit 0d4f613c authored by Zijun Hu's avatar Zijun Hu Committed by Gerrit - the friendly Code Review server
Browse files

AVDTP: Fix a potential overflow about the media payload offset

This variable is uint16, and is possible to overflow when the length of
header extension is larger. Here we compare with the data length to
prevent any exceptions.

Change-Id: I3e963ebe681fae9d1f4f6407a80da4b77d1bc843
CRs-Fixed: 3237187
parent dc6202ef
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