Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/2] audio: harden A2DP parser handling
@ 2026-06-20 19:17 Geraldo Netto
  2026-06-20 19:17 ` [PATCH BlueZ 1/2] audio: harden a2dp parsers Geraldo Netto
  2026-06-20 19:17 ` [PATCH BlueZ 2/2] audio: reduce a2dp parser complexity Geraldo Netto
  0 siblings, 2 replies; 4+ messages in thread
From: Geraldo Netto @ 2026-06-20 19:17 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Geraldo Netto

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

-- 
2.43.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-20 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-20 19:17 [PATCH BlueZ 0/2] audio: harden A2DP parser handling Geraldo Netto
2026-06-20 19:17 ` [PATCH BlueZ 1/2] audio: harden a2dp parsers Geraldo Netto
2026-06-20 21:07   ` audio: harden A2DP parser handling bluez.test.bot
2026-06-20 19:17 ` [PATCH BlueZ 2/2] audio: reduce a2dp parser complexity Geraldo Netto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox