Wireshark-bugs: [Wireshark-bugs] [Bug 13175] Runtime Error when try to merge .pcap files (Wiresh
Date: Sat, 26 Nov 2016 17:42:26 +0000

Comment # 12 on bug 13175 from
Pavel, Nigel, could you give a try at the (blind) attempt done in this binary?
https://www.dropbox.com/s/obxa4cdvrs3noxj/Wireshark-win64-2.2.2.exe?dl=0

diff --git a/wiretap/merge.c b/wiretap/merge.c
index 38ceed2..8ce7956 100644
--- a/wiretap/merge.c
+++ b/wiretap/merge.c
@@ -984,7 +984,7 @@ merge_files(int out_fd, const gchar* out_filename, const
int file_type,
     GArray             *shb_hdrs = NULL;
     wtapng_iface_descriptions_t *idb_inf = NULL;

-    g_assert(out_fd > 0);
+    g_assert(out_fd != -1);
     g_assert(in_file_count > 0);
     g_assert(in_filenames != NULL);
     g_assert(err != NULL); 

Still not sure whether this is the right thing to do as 0 seemed to be for
stdin.


You are receiving this mail because:
  • You are watching all bug changes.