[bluez/bluez] 81ba8b: audio/avrcp: fix crash when NowPlaying changes whi...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/965442
  Home:   https://github.com/bluez/bluez
  Commit: 81ba8b2bef4e18cc161ac117ffcb74eed24bf710
      https://github.com/bluez/bluez/commit/81ba8b2bef4e18cc161ac117ffcb74eed24bf710
  Author: George Kiagiadakis <george.kiagiadakis@xxxxxxxxxxxxx>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M profiles/audio/avrcp.c

  Log Message:
  -----------
  audio/avrcp: fix crash when NowPlaying changes while list_items is in progress

The media_item objects are owned by the player and while we keep
temporary pointers to them in pending_list_items, clearing the player's
playlist destroys them and we will end up crashing in the next call to
avrcp_list_items_rsp(). The crash is racy and can only be observed
when skipping tracks very quickly in an Apple Music station (where the
playlist changes on every next song)



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux