[bluez/bluez] 582ec3: media: fix wrong argument to lp_get_uid() in avrcp...

Pauli Virtanen <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1146603/[email protected]>
  Branch: refs/heads/1146603
  Home:   https://github.com/bluez/bluez
  Commit: 582ec38249f11a91e1300b61a7690b41ecbdb773
      https://github.com/bluez/bluez/commit/582ec38249f11a91e1300b61a7690b41ecbdb773
  Author: Pauli Virtanen <[email protected]>
  Date:   2026-08-15 (Sat, 15 Aug 2026)

  Changed paths:
    M profiles/audio/avrcp-player.c

  Log Message:
  -----------
  media: fix wrong argument to lp_get_uid() in avrcp-player

In track_changed(), lp_get_uid() is passed struct local_player although
player_link is expected, which is ASAN crash.  It takes void * since
it's avrcp_player_cb callback function, so wasn't caught by compiler.

Pass the right object. Fixes AddressSanitizer: heap-buffer-overflow



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.