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. Bug: 142546355 Tag: #security Test: A2DP sink playback Ignore-AOSP-First: security vulnerabilities Change-Id: Id13b1ebde8f603123c8b7a49922b2f1378ab788f
Loading
Please register or sign in to comment