diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-28 16:32:04 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-28 16:32:04 +0300 |
commit | 2bd4b645a170e0c492fb7664f6a79f16319d88e6 (patch) | |
tree | 693a1cc890db818121f6ef14180c1d4b6a33a720 /sap | |
parent | 65ee36570563c84abffc6e83851adf865662f81b (diff) | |
download | bluez-2bd4b645a170e0c492fb7664f6a79f16319d88e6.tar.gz |
Fix use of unninitialized UUID value in SAP code
Diffstat (limited to 'sap')
-rw-r--r-- | sap/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |