Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at proto.c:3302

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

retap_packet

(/home/sate/Testcases/c/cve/wireshark-1.2.0/file.c)expand/collapse
Show more  
 1908  retap_packet(capture_file *cf _U_, frame_data *fdata,
 1909               union wtap_pseudo_header *pseudo_header, const guint8 *pd,
 1910               void *argsp)
 1911  {
 1912    column_info *cinfo = argsp;
 1913    epan_dissect_t *edt;
 1914   
 1915    /* If we have tap listeners, allocate a protocol tree root node, so that
 1916       we'll construct a protocol tree against which a filter expression can
 1917       be evaluated. */
 1918[+]   edt = epan_dissect_new(num_tap_filters != 0, FALSE);
 1919[+]   tap_queue_init(edt);
expand/collapse

tap_queue_init

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/tap.c)expand/collapse
Show more  
 200  tap_queue_init(epan_dissect_t *edt)
 201  {
 202          tap_listener_t *tl;
 203   
 204          /* nothing to do, just return */
 205          if(!tap_listener_queue){
 206                  return;
 207          }
 208   
 209          tapping_is_active=TRUE;
 210   
 211          tap_packet_index=0;
 212   
 213          /* loop over all tap listeners and build the list of all 
 214             interesting hf_fields */
 215          for(tl=(tap_listener_t *)tap_listener_queue;tl;tl=tl->next){
 216                  if(tl->code){
 217[+]                         epan_dissect_prime_dfilter(edt, tl->code);
expand/collapse

epan_dissect_prime_dfilter

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/epan.c)expand/collapse
Show more  
 195  epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t* dfcode)
 196  {
 197[+]         dfilter_prime_proto_tree(dfcode, edt->tree);
expand/collapse

dfilter_prime_proto_tree

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dfilter/dfilter.c)expand/collapse
Show more  
 382  dfilter_prime_proto_tree(const dfilter_t *df, proto_tree *tree)
 383  {
 384      int i;
 385   
 386      for (i = 0; i < df->num_interesting_fields; i++) {
 387[+]         proto_tree_prime_hfid(tree, df->interesting_fields[i]);
expand/collapse

proto_tree_prime_hfid

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/proto.c)expand/collapse
Show more  
 3298  proto_tree_prime_hfid(proto_tree *tree, gint hfid)
 3299  {
 3300          header_field_info *hfinfo;
 3301   
 3302          g_hash_table_insert(PTREE_DATA(tree)->interesting_hfids,
 3303                  GINT_TO_POINTER(hfid), g_ptr_array_new());
Show more  
Show more  
Show more  
Show more  
Show more  




Change Warning 4720.31445 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: