Empty if Statement at packet-dcerpc-nt.c:668 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dcerpc_store_polhnd_name (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-nt.c)![]() | ||||||
![]() | ||||||
658 | return; | |||||
659 | ||||||
660 | /* Look up existing value */ | |||||
661 | pol = find_pol_handle(policy_hnd, pinfo->fd->num, &value); | |||||
662 | ||||||
663 | if (pol != NULL) { | |||||
664 | /* | |||||
665 | * This is the first pass; update the existing | |||||
666 | * value as appropriate. | |||||
667 | */ | |||||
668 | if (pol->name && name) {
| |||||
669 | #ifdef DEBUG_HASH_COLL | |||||
670 | if (strcmp(pol->name, name) != 0) | |||||
671 | g_warning("dcerpc_smb: pol_hash name collision %s/%s\n", value->name, name); | |||||
672 | #endif | |||||
673 | /* pol->name is se_allocated, don't free it now */ | |||||
674 | } | |||||
675 | ||||||
676 | pol->name = se_strdup(name); | |||||
677 | ||||||
678 | return; | |||||
![]() |