Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Data Flow  at file.c:2873

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

cf_find_packet_data

(/home/sate/Testcases/c/cve/wireshark-1.2.0/file.c)expand/collapse
Show more  
 2850  cf_find_packet_data(capture_file *cf, const guint8 *string, size_t string_size)
 2851  {
 2852    cbs_t info;
 2853   
 2854    info.data = string;
 2855    info.data_len = string_size;
 2856   
 2857    /* String or hex search? */
 2858    if (cf->string) {
 2859      /* String search - what type of string? */
 2860      switch (cf->scs_type) {
 2861   
 2862      case SCS_ASCII_AND_UNICODE:
 2863        return find_packet(cf, match_ascii_and_unicode, &info);
 2864   
 2865      case SCS_ASCII:
 2866        return find_packet(cf, match_ascii, &info);
 2867   
 2868      case SCS_UNICODE:
 2869        return find_packet(cf, match_unicode, &info);
 2870   
 2871      default:
 2872        g_assert_not_reached();
 2873        return FALSE;
 2874      }
 2875    } else 
 2876      return find_packet(cf, match_binary, &info);
 2877  }
Show more  




Change Warning 4073.30548 : Unreachable Data Flow

Priority:
State:
Finding:
Owner:
Note: