Fix type confusion in avdt_msg.cc
It is possible for a malicious user to reply to a pending AVDT message with the wrong type, leading to type confusion and an eventual OOB access. Add message type validation. Bug: 273995284 Test: m libbluetooth Ignore-AOSP-First: security Tag: #security Merged-In: I87a0df92710658d6c27d9b63ee7813a0d45a301a Merged-In: Iea207e7e5e3d469ccbc81f5abf945723cf7b60d3 Change-Id: I87a0df92710658d6c27d9b63ee7813a0d45a301a
Loading
Please register or sign in to comment