Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom.c:1490

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_dcom_UUID

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1457  dissect_dcom_UUID(tvbuff_t *tvb, int offset,
 1458          packet_info *pinfo, proto_tree *tree, guint8 *drep,
 1459          int hfindex, e_uuid_t *pdata)
 1460  {
 1461          const gchar *uuid_name;
 1462          header_field_info *hfi;
 1463          e_uuid_t uuid;
 1464   
 1465   
 1466          /* get the UUID, but don't put it into the tree */
 1467          offset = dissect_ndr_uuid_t(tvb, offset, pinfo, NULL, drep,  
 1468[+]                                                 hfindex, &uuid);
 1469   
 1470          /* add to the tree */
 1471          hfi = proto_registrar_get_nth(hfindex);
 1472[+]         uuid_name = guids_get_uuid_name(&uuid);
 1473          if(uuid_name) {
 1474                  proto_tree_add_guid_format(tree, hfindex, tvb, offset-16, 16, (e_guid_t *) &uuid,  
 1475                            "%s: %s (%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x)",  
 1476                            hfi->name, uuid_name,  
 1477                            uuid.Data1, uuid.Data2, uuid.Data3,
 1478                            uuid.Data4[0], uuid.Data4[1],
 1479                            uuid.Data4[2], uuid.Data4[3],
 1480                            uuid.Data4[4], uuid.Data4[5],
 1481                            uuid.Data4[6], uuid.Data4[7]);
 1482          } else {
 1483                  proto_tree_add_guid_format(tree, hfindex, tvb, offset-16, 16, (e_guid_t *) &uuid,  
 1484                            "%s: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
 1485                            hfi->name,
 1486                            uuid.Data1, uuid.Data2, uuid.Data3,
 1487                            uuid.Data4[0], uuid.Data4[1],
 1488                            uuid.Data4[2], uuid.Data4[3],
 1489                            uuid.Data4[4], uuid.Data4[5],
 1490                            uuid.Data4[6], uuid.Data4[7]);
Show more  




Change Warning 2204.31775 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: