Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v4 00/10] AVRCP browsing fixes
@ 2026-11-24 12:18 Simon Mikuda
  2026-11-24 12:18 ` [PATCH BlueZ v4 01/10] avrcp: Fix not checking browsing PDU parameter length Simon Mikuda
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Simon Mikuda @ 2026-11-24 12:18 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Simon Mikuda

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


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

end of thread, other threads:[~2026-11-24 21:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 12:18 [PATCH BlueZ v4 00/10] AVRCP browsing fixes Simon Mikuda
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

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