Thread (5 messages) flat view 5 messages, 3 authors, 2024-06-19
STALE826d

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH BlueZ v2 0/2] bap: Allocate memory for broadcast code

From: Vlad Pruteanu <hidden>
Date: 2024-06-19 09:51:42

Currently the broadcast code is set without memory being allocated
for it resulting in segmentation fault. This implements an util_iov_new
function that allocates the memory before setting the user_data. The issue is
fixed by using this function instead of util_iov_append.

Vlad Pruteanu (2):
  shared/util: Add util_iov_new function
  bap: Use util_iov_new when setting bcode

 profiles/audio/bap.c |  5 ++---
 src/shared/util.c    | 10 ++++++++++
 src/shared/util.h    |  1 +
 3 files changed, 13 insertions(+), 3 deletions(-)

-- 
2.40.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help