Skip to content

audio: harden A2DP parser handling

Geraldo Netto linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2audio: harden a2dp parsersMakefile.am Makefile.plugins profiles/audio/a2dp-helpers.c +3 more+489 -492 replies
2/2audio: reduce a2dp parser complexityprofiles/audio/a2dp-helpers.c+43 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 0/2] audio: harden A2DP parser handling

This series hardens the A2DP persisted endpoint parsing path and adds focused unit coverage around the parser behavior. It also splits the parser helpers out of a2dp.c to keep the endpoint parsing code easier to test and review.

These are my first BlueZ patches, so feedback on style, structure, or submission format is welcome.

Geraldo Netto (2):
audio: harden a2dp parsers
audio: reduce a2dp parser complexity

 Makefile.am                   |   7 +
 Makefile.plugins              |   1 +
 profiles/audio/a2dp-helpers.c | 167 ++++++++++++++++++++
 profiles/audio/a2dp-helpers.h |  20 +++
 profiles/audio/a2dp.c         |  86 +++++-----
 unit/test-a2dp.c              | 288 ++++++++++++++++++++++++++++++++++
 6 files changed, 520 insertions(+), 49 deletions(-)
 create mode 100644 profiles/audio/a2dp-helpers.c
 create mode 100644 profiles/audio/a2dp-helpers.h
 create mode 100644 unit/test-a2dp.c
Signature · 1 line
2.43.0