Text   |  XML   |  ReML   |   Visible Warnings:

Buffer Overrun  at daintree-sna.c:151

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

daintree_sna_read

(/home/sate/Testcases/c/cve/wireshark-1.2.0/wiretap/daintree-sna.c)expand/collapse
Show more  
 132  daintree_sna_read(wtap *wth, int *err, gchar **err_info _U_, gint64 *data_offset)
 133  {
 134          guint64 seconds;
 135   
 136          *data_offset = wth->data_offset;
 137   
 138          /* we've only seen file header lines starting with '#', but 
 139           * if others appear in the file, they are tossed */
 140          do {
 141                  if (file_gets(readLine, DAINTREE_MAX_LINE_SIZE, wth->fh) == NULL) {
 142                          *err = file_error(wth->fh);
 143                          return FALSE; /* all done */
 144                  }
 145                  wth->data_offset += strlen(readLine);
 146          } while (readLine[0] == COMMENT_LINE);
 147   
 148          /* parse one line of capture data */
 149          if (sscanf(readLine, "%*s %" G_GINT64_MODIFIER "u.%u %u %s",
 150                  &seconds, &wth->phdr.ts.nsecs,
 151                  &wth->phdr.len, readData) != 4) {
Show more  




Change Warning 990.30039 : Buffer Overrun

Priority:
State:
Finding:
Owner:
Note: