Skip to content
Commit 73b2bd1d authored by Mayank Madhukar's avatar Mayank Madhukar 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: If55d77132e893d6856c9f4ccc42d24a6e7cafe29
CRs-Fixed: 3237187
parent ad428d63
Please register or to comment