* [bluez/bluez] c62fba: shared/rap: Fix step payload pointer in parse_step
@ 2026-06-23 11:47 prathibhamadugonde
0 siblings, 0 replies; only message in thread
From: prathibhamadugonde @ 2026-06-23 11:47 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1115319
Home: https://github.com/bluez/bluez
Commit: c62fba1e317d2fd3e80682726ddf4a275db2ae85
https://github.com/bluez/bluez/commit/c62fba1e317d2fd3e80682726ddf4a275db2ae85
Author: Prathibha Madugonde <prathibha.madugonde@oss.qualcomm.com>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M src/shared/rap.c
Log Message:
-----------
shared/rap: Fix step payload pointer in parse_step
util_iov_pull advances iov_base before returning the new pointer, so
mode_iov.iov_base was set to the start of the *next* step's data.
Every step was therefore parsed using its successor's bytes.
Switch to util_iov_pull_mem which saves the original base, advances
iov, and returns the pre-advance pointer — correctly pointing to the
current step's payload.
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-23 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 11:47 [bluez/bluez] c62fba: shared/rap: Fix step payload pointer in parse_step prathibhamadugonde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox