From 2bd4b645a170e0c492fb7664f6a79f16319d88e6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 28 Mar 2011 16:32:04 +0300 Subject: [PATCH] Fix use of unninitialized UUID value in SAP code --- sap/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sap/server.c b/sap/server.c index 8178f1cdf..c9c9a121c 100644 --- a/sap/server.c +++ b/sap/server.c @@ -201,6 +201,7 @@ static sdp_record_t *create_sap_record(uint8_t channel) if (!record) return NULL; + sdp_uuid16_create(&root_uuid, PUBLIC_BROWSE_GROUP); root = sdp_list_append(NULL, &root_uuid); sdp_set_browse_groups(record, root); sdp_list_free(root, NULL); -- 2.47.3