Commit: e2b0f0d8d63e1223bb714a9efb37e2257818268b
Parent: 7a80d2096f1b7125085e21448112aa02f49f5e9a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-05-05 02:56:18
Tree: 8094bc66dfd2de999e902bda1a507cbdc5c3d542

avrcp: Fix not checking if params_len match number of received bytes This makes sure the number of bytes in the params_len matches the remaining bytes received so the code don't end up accessing invalid memory.

Diffstat

M profiles/audio/avrcp.c | 8 ++++++++

1 files changed, 8 insertions(+), 0 deletions(-)

View Full Diff | Patch