The "Vendor" field is optional, and should have an initialized valid default value. --- profiles/audio/media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/media.c b/profiles/audio/media.c index d96367454..a62755f69 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -2551,7 +2551,7 @@ static void app_register_endpoint(void *data, void *user_data) const char *uuid; gboolean delay_reporting = FALSE; uint8_t codec; - struct vendor vendor; + struct vendor vendor = { 0 }; struct bt_bap_pac_qos qos; uint8_t *capabilities = NULL; int size = 0; -- 2.39.1