Commit: 07e8e726758fd957df3a1c04223c6454d1a2573e
Parent: 07c14fcfbd8b0843afca707b72fad77fc64a2098
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-01-17 18:12:24
Tree: 6e32b410ed7be0d80b2eaf4acd4b6bfee5468e04

btio: Set correct length for getsockopt When calling getsockopt for BT_ISO_BASE, this initializes the length argument to the maximum size of the buffer where the bytes are placed. This fixes the fact that, on a Broadcast Sink, if the BASE discovered from a Broadcast Source exceeds a certain length, the bytes will be incompletely read, causing issues when parsing the LTVs.

Diffstat

M btio/btio.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

View Full Diff | Patch