Redundant Condition at packet-dec-dnart.c:359 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
set_dnet_address (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dec-dnart.c)![]() | ||||||
![]() | ||||||
355 | set_dnet_address(address *paddr_src, address *paddr_tgt) | |||||
356 | { | |||||
357 | if (paddr_tgt->type != AT_STRINGZ && paddr_src->type == AT_ETHER) { | |||||
358 | char *addr = dnet_ntoa(paddr_src->data); | |||||
359 | if (addr != NULL)
| |||||
360 | SET_ADDRESS(paddr_tgt, AT_STRINGZ, 1, addr); | |||||
361 | } | |||||
362 | } | |||||
![]() |