* [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
@ 2026-08-15 21:04 Pauli Virtanen
2026-08-15 22:04 ` [BlueZ] " bluez.test.bot
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Pauli Virtanen @ 2026-08-15 21:04 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Pauli Virtanen
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
---
profiles/audio/avrcp-player.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/audio/avrcp-player.c b/profiles/audio/avrcp-player.c
index d335e7ef6..43db0dc45 100644
--- a/profiles/audio/avrcp-player.c
+++ b/profiles/audio/avrcp-player.c
@@ -198,7 +198,7 @@ static void track_position(uint32_t old, uint32_t position, void *user_data)
static void track_changed(void *user_data)
{
struct player_link *p = user_data;
- uint64_t uid = lp_get_uid(p->lp);
+ uint64_t uid = lp_get_uid(p);
avrcp_player_event(p->avrcp, AVRCP_EVENT_TRACK_CHANGED, &uid);
avrcp_player_event(p->avrcp, AVRCP_EVENT_TRACK_REACHED_START, NULL);
--
2.55.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* RE: [BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
2026-08-15 21:04 [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player Pauli Virtanen
@ 2026-08-15 22:04 ` bluez.test.bot
2026-09-10 17:42 ` bluez.test.bot
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bluez.test.bot @ 2026-08-15 22:04 UTC (permalink / raw)
To: linux-bluetooth, pav
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1146603
---Test result---
Test Summary:
CheckPatch PASS 0.41 seconds
GitLint PASS 0.47 seconds
BuildEll PASS 20.50 seconds
BluezMake PASS 575.14 seconds
MakeCheck PASS 3.80 seconds
MakeDistcheck PASS 157.59 seconds
CheckValgrind PASS 154.82 seconds
CheckSmatch PASS 307.51 seconds
bluezmakeextell PASS 97.74 seconds
IncrementalBuild PASS 586.80 seconds
ScanBuild PASS 894.53 seconds
https://github.com/bluez/bluez/pull/2405
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
2026-08-15 21:04 [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player Pauli Virtanen
2026-08-15 22:04 ` [BlueZ] " bluez.test.bot
@ 2026-09-10 17:42 ` bluez.test.bot
2026-09-10 18:25 ` bluez.test.bot
2026-09-10 18:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
3 siblings, 0 replies; 5+ messages in thread
From: bluez.test.bot @ 2026-09-10 17:42 UTC (permalink / raw)
To: linux-bluetooth, pav
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
This is an automated email and please do not reply to this email.
Dear Submitter,
This series was picked up by the CI more than 2 weeks ago and the pull
request created for it is still open, which means the series was never
applied to the tree.
Series: [BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
Pull Request: https://github.com/bluez/bluez/pull/2405
Created: 2026-08-15 21:17:07+00:00
The pull request has been closed and no further action is taken on this
series.
If the change should still be considered, it must be resent to the Linux
Bluetooth mailing list (linux-bluetooth@vger.kernel.org) so that it is
picked up again.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
2026-08-15 21:04 [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player Pauli Virtanen
2026-08-15 22:04 ` [BlueZ] " bluez.test.bot
2026-09-10 17:42 ` bluez.test.bot
@ 2026-09-10 18:25 ` bluez.test.bot
2026-09-10 18:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
3 siblings, 0 replies; 5+ messages in thread
From: bluez.test.bot @ 2026-09-10 18:25 UTC (permalink / raw)
To: linux-bluetooth, pav
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1146603/
---Test result---
Test Summary:
CheckPatch PASS 0.41 seconds
GitLint PASS 0.30 seconds
BuildEll PASS 19.79 seconds
BluezMake PASS 355.78 seconds
MakeCheck PASS 2.83 seconds
MakeDistcheck PASS 143.22 seconds
CheckValgrind PASS 149.09 seconds
CheckSmatch PASS 282.77 seconds
bluezmakeextell PASS 92.63 seconds
IncrementalBuild PASS 368.68 seconds
ScanBuild PASS 1052.18 seconds
https://github.com/bluez/bluez/pull/2508
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
2026-08-15 21:04 [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player Pauli Virtanen
` (2 preceding siblings ...)
2026-09-10 18:25 ` bluez.test.bot
@ 2026-09-10 18:40 ` patchwork-bot+bluetooth
3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+bluetooth @ 2026-09-10 18:40 UTC (permalink / raw)
To: Pauli Virtanen; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Sun, 16 Aug 2026 00:04:48 +0300 you wrote:
> 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
> ---
> profiles/audio/avrcp-player.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7ac7aa092096
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-10 18:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15 21:04 [PATCH BlueZ] media: fix wrong argument to lp_get_uid() in avrcp-player Pauli Virtanen
2026-08-15 22:04 ` [BlueZ] " bluez.test.bot
2026-09-10 17:42 ` bluez.test.bot
2026-09-10 18:25 ` bluez.test.bot
2026-09-10 18:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox