Parent: 43bd13f7c70072cb1be62350424d25d7675f500b
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-10-03 19:37:26
Tree: 50dcb38eb46ecfbe718617f1ffe36858842ee8e7
shared/bap: Fix load of misaligned address error This fixes the "load of misaligned address" error that appears when parsing PAC caps: src/shared/bap.c:6497:7: runtime error: load of misaligned address 0x502000063639 for type 'uint16_t', which requires 2 byte alignment 0x502000063639: note: pointer points here 02 03 05 04 1a 00 f0 00 02 03 01 02 11 00 00 08 00 00 00 a3 00 00 ^ 00 00 00 00 00 01 00 00 00 01 src/shared/bap.c:6498:7: runtime error: load of misaligned address 0x502000063639 for type 'uint16_t', which requires 2 byte alignment 0x502000063639: note: pointer points here 02 03 05 04 1a 00 f0 00 02 03 01 02 11 00 00 08 00 00 00 a3 00 00 ^ 00 00 00 00 00 01 00 00 00 01
Diffstat
| M | src/shared/bap.c | | | 14 | ++++++- - - - - - - - |
1 files changed, 6 insertions(+), 8 deletions(-)