Text   |  XML   |  ReML   |   Visible Warnings:

Negative file descriptor  at file_access.c:897

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

wtap_dump_open_finish

(/home/sate/Testcases/c/cve/wireshark-1.2.0/wiretap/file_access.c)expand/collapse
Show more  
 886  static gboolean wtap_dump_open_finish(wtap_dumper *wdh, int filetype, gboolean compressed, int *err)
 887  {
 888          int fd;
 889          gboolean cant_seek;
 890   
 891          /* Can we do a seek on the file descriptor?
 892             If not, note that fact. */
 893          if(compressed) {
 894                  cant_seek = TRUE;
 895          } else {
 896                  fd = fileno(wdh->fh);
 897                  if (lseek(fd, 1, SEEK_CUR) == -1)
Show more  




Change Warning 1004.29722 : Negative file descriptor

Priority:
State:
Finding:
Owner:
Note: