[BlueZ, v2 0/3] avrcp: Fix Out-of-Bounds Read in AVRCP GetFolderItems parsing
Bastien Nocera <[email protected]>
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <[email protected]> |
Changes since v1: - Add missing inttypes.h include to split-off parsing functions Bastien Nocera (2): avrcp: Split off name parsing from parse_*_element() unit: Adapt poc_*_oob.c test into a new test Elman Shahbazov (1): avrcp: Fix Out-of-Bounds Read in AVRCP GetFolderItems parsing Makefile.am | 9 +++++ Makefile.plugins | 1 + profiles/audio/avrcp-parse.c | 52 ++++++++++++++++++++++++ profiles/audio/avrcp-parse.h | 19 +++++++++ profiles/audio/avrcp.c | 26 +++--------- unit/test-avrcp-sec.c | 76 ++++++++++++++++++++++++++++++++++++ 6 files changed, 163 insertions(+), 20 deletions(-) create mode 100644 profiles/audio/avrcp-parse.c create mode 100644 profiles/audio/avrcp-parse.h create mode 100644 unit/test-avrcp-sec.c -- 2.55.0