Text   |  XML   |  ReML   |   Visible Warnings:

Format String  at proto_hier_stats.c:152

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

process_frame

(/home/sate/Testcases/c/cve/wireshark-1.2.0/proto_hier_stats.c)expand/collapse
Show more  
 139  process_frame(frame_data *frame, column_info *cinfo, ph_stats_t* ps)
 140  {
 141          epan_dissect_t                  *edt;
 142          union wtap_pseudo_header        phdr;
 143          guint8                          pd[WTAP_MAX_PACKET_SIZE];
 144          int                             err;
 145          gchar                           *err_info;
 146          double                          cur_time;
 147   
 148          /* Load the frame from the capture file */
 149          if (!wtap_seek_read(cfile.wth, frame->file_off, &phdr, pd,
 150              frame->cap_len, &err, &err_info)) {
 151                  simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
 152                      cf_read_error_message(err, err_info), cfile.filename);
 153                  return FALSE;   /* failure */
 154          }
 155   
 156          /* Dissect the frame   tree  not visible */
 157          edt = epan_dissect_new(TRUE, FALSE);
 158          epan_dissect_run(edt, &phdr, pd, frame, cinfo);
 159   
 160          /* Get stats from this protocol tree */
 161          process_tree(edt->tree, ps, frame->pkt_len);
 162   
 163          /* Update times */
 164          cur_time = nstime_to_sec(&frame->abs_ts);
 165          if (cur_time < ps->first_time) {
 166            ps->first_time = cur_time;
 167          }
 168          if (cur_time > ps->last_time){
 169            ps->last_time = cur_time;
 170          }
 171   
 172          /* Free our memory. */
 173          epan_dissect_free(edt);
 174   
 175          return TRUE;    /* success */
 176  }
Show more  




Change Warning 5602.35911 : Format String

Priority:
State:
Finding:
Owner:
Note: