Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at firewall_dlg.c:400

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

select_product

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/firewall_dlg.c)expand/collapse
Show more  
 390              ADD_TO_FILTER_MENU(RT_PORT_DST);
 391          }
 392      }
 393   
 394      if (products[prod].ipv4_port_func && rule_info->net_src.type == AT_IPv4 &&
 395              (rule_info->ptype == PT_TCP || rule_info->ptype == PT_UDP)) {
 396          addr = &(rule_info->net_src);
 397          address_to_str_buf(addr, addr_str, MAX_RULE_LEN);
 398          g_snprintf(name, MAX_RULE_LEN, "%s + %s port %u", addr_str,
 399              NAME_TCP_UDP, rule_info->srcport);
 400          ADD_TO_FILTER_MENU(RT_IPv4_PORT_SRC);
 401   
 402          addr = &(rule_info->net_dst);
 403          address_to_str_buf(addr, addr_str, MAX_RULE_LEN);
 404          g_snprintf(name, MAX_RULE_LEN, "%s + %s port %u", addr_str,
 405              NAME_TCP_UDP, rule_info->destport);
 406          ADD_TO_FILTER_MENU(RT_IPv4_PORT_DST);
 407          sensitive = TRUE;
 408      }
 409   
 410      if (rule_type != RT_NONE) {
Show more  




Change Warning 275.28162 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: