From: Geraldo Netto <geraldonetto@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Geraldo Netto <geraldonetto@gmail.com>
Subject: [PATCH BlueZ 0/2] audio: harden A2DP parser handling
Date: Sat, 20 Jun 2026 21:17:33 +0200 [thread overview]
Message-ID: <20260620191735.2675946-1-geraldonetto@gmail.com> (raw)
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
next reply other threads:[~2026-06-20 19:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-20 19:17 Geraldo Netto [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260620191735.2675946-1-geraldonetto@gmail.com \
--to=geraldonetto@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox