From: Simon Mikuda <simon.mikuda@streamunlimited.com>
To: linux-bluetooth@vger.kernel.org
Cc: Simon Mikuda <simon.mikuda@streamunlimited.com>
Subject: [PATCH BlueZ v4 00/10] AVRCP browsing fixes
Date: Tue, 24 Nov 2026 13:18:54 +0100 [thread overview]
Message-ID: <20261124121904.3267700-1-simon.mikuda@streamunlimited.com> (raw)
These fix AVRCP browsing, mostly in the controller role: the browsing
PDU length is not checked, the player list stops short of item
0xffffffff, two notifications go out in the wrong byte order, a player
addressed before it was listed is never browsed, Search in a folder
whose name has a space crashes bluetoothd, and listed Now Playing items
lose their Name and NumberOfItems. Each patch has its steps to
reproduce.
Changes in v4:
- Patches 6 and 9: shorter subjects, their titles were over CI's gitlint limit.
Simon Mikuda (10):
avrcp: Fix not checking browsing PDU parameter length
avrcp: Fix listing media players up to item 0xffffffff
avrcp: Fix byte order of ADDRESSED_PLAYER_CHANGED notification
avrcp: Fix byte order of TRACK_CHANGED identifier
avrcp: Fix not browsing a player addressed before it was listed
player: Fix crash on Search in a folder whose name has a space
player: Fix missing Name of listed Now Playing items
avrcp: Fix NumberOfItems set from a reply for another folder
unit/test-media-player: Add test for stale NumberOfItems reply
player: Fix Now Playing NumberOfItems when its content changes
profiles/audio/avrcp.c | 110 +++++++++++++++++++++++++++++----------
profiles/audio/player.c | 65 ++++++++++++++++++++---
profiles/audio/player.h | 1 +
unit/test-media-player.c | 40 ++++++++++++--
4 files changed, 179 insertions(+), 37 deletions(-)
base-commit: 1608f836188610aabeff5a3164169ebe0360e443
--
2.43.0
next reply other threads:[~2026-11-24 12:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 12:18 Simon Mikuda [this message]
2026-11-24 12:18 ` [PATCH BlueZ v4 01/10] avrcp: Fix not checking browsing PDU parameter length Simon Mikuda
2026-11-24 21:03 ` AVRCP browsing fixes bluez.test.bot
2026-11-24 12:18 ` [PATCH BlueZ v4 02/10] avrcp: Fix listing media players up to item 0xffffffff Simon Mikuda
2026-11-24 12:18 ` [PATCH BlueZ v4 03/10] avrcp: Fix byte order of ADDRESSED_PLAYER_CHANGED notification Simon Mikuda
2026-11-24 12:18 ` [PATCH BlueZ v4 04/10] avrcp: Fix byte order of TRACK_CHANGED identifier Simon Mikuda
2026-11-24 12:18 ` [PATCH BlueZ v4 05/10] avrcp: Fix not browsing a player addressed before it was listed Simon Mikuda
2026-11-24 12:19 ` [PATCH BlueZ v4 06/10] player: Fix crash on Search in a folder whose name has a space Simon Mikuda
2026-11-24 12:19 ` [PATCH BlueZ v4 07/10] player: Fix missing Name of listed Now Playing items Simon Mikuda
2026-11-24 12:19 ` [PATCH BlueZ v4 08/10] avrcp: Fix NumberOfItems set from a reply for another folder Simon Mikuda
2026-11-24 12:19 ` [PATCH BlueZ v4 09/10] unit/test-media-player: Add test for stale NumberOfItems reply Simon Mikuda
2026-11-24 12:19 ` [PATCH BlueZ v4 10/10] player: Fix Now Playing NumberOfItems when its content changes Simon Mikuda
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=20261124121904.3267700-1-simon.mikuda@streamunlimited.com \
--to=simon.mikuda@streamunlimited.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