transport: Fix crash with broadcast properties
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Aug 2023 04:54:36 +0000 (21:54 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
commit918a4e27f7a78543ad79d193a3a090b647e76551
tree737c457c89844c76a317c1502e98773dfc7e8e6c
parenteb42722f546ee0aa4afbddc5ab965642c1da8576
transport: Fix crash with broadcast properties

When connecting a BAP unicast stream the followin crash can be observed:

Access not within mapped region at address 0x1D4C0000000A
  at 0x14F759: get_bcode (transport.c:1121)
  by 0x1E02E4: append_property.isra.0 (object.c:498)
  by 0x1E03B9: append_properties (object.c:527)
  by 0x1E2AAB: g_dbus_get_properties (object.c:1811)
  by 0x14B9B6: pac_config (media.c:1130)
profiles/audio/transport.c