Text   |  XML   |  ReML   |   Visible Warnings:

Redundant Condition  at packet-dec-dnart.c:347

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

dnet_ntoa

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dec-dnart.c)expand/collapse
Show more  
 344  static char *
 345  dnet_ntoa(const guint8 *data)
 346  {
 347      if (data[0] == 0xAA && data[1] == 0x00 && data[2] == 0x04 && data[3] == 0x00) {
 348          guint16 dnet_addr = data[4] | (data[5] << 8);
 349          return ep_strdup_printf("%d.%d", dnet_addr >> 10, dnet_addr & 0x03FF);
 350      }
 351      return NULL;
 352  }
Show more  




Change Warning 2278.30370 : Redundant Condition

Priority:
State:
Finding:
Owner:
Note: