Commit: 1ffd74a6d4212a165763dc53e58a1b49b6fc5a98
Parent: 2894f1392fbe5e570039e9a753c7065cb8fcbf01
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-05-25 22:52:19
Tree: 5b33cc141f50da603d70d8680e90b39a8fbaaecc

monitor/att: Fix parsing of notifications If there are multiple notifications in the same frame the callback may alter it when using l2cap_frame_pull helpers, so instead this passes a cloned frame with just the expected length so callbacks cannot alter original frame.

Diffstat

M monitor/att.c | 10 ++++++++++
M monitor/l2cap.h | 12 ++++++++++- -

2 files changed, 20 insertions(+), 2 deletions(-)

View Full Diff | Patch