Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-ipmi-transport.c:1872

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

rs11

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ipmi-transport.c)expand/collapse
Show more  
 1845  rs11(tvbuff_t *tvb, proto_tree *tree)
 1846  {
 1847          static const int *byte1[] = { &hf_ipmi_trn_11_rev_present, &hf_ipmi_trn_11_rev_compat, NULL };
 1848          proto_item *ti;
 1849          tvbuff_t *next;
 1850          const char *desc;
 1851          guint32 pno, req;
 1852   
 1853          proto_tree_add_bitmask_text(tree, tvb, 0, 1, NULL, NULL,
 1854                          ett_ipmi_trn_11_rev, byte1, TRUE, 0);
 1855   
 1856[+]         if (!ipmi_getsaveddata(0, &pno) && !ipmi_getsaveddata(1, &req)) {
 1857                  /* No request found - cannot parse further */
 1858                  if (tvb_length(tvb) > 1) {
 1859                          proto_tree_add_item(tree, hf_ipmi_trn_11_param_data, tvb, 1, tvb_length(tvb) - 1, TRUE);
 1860                  };
 1861                  return;
 1862          }
 1863   
 1864          if (pno < array_length(serial_options)) {
 1865                  desc = serial_options[pno].name;
 1866          } else if (pno >= 0xC0) {
 1867                  desc = "OEM";
 1868          } else {
 1869                  desc = "Reserved";
 1870          }
 1871   
 1872          if ((req & 0x80) && tvb_length(tvb) > 1) {
Show more  




Change Warning 3481.34256 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: