Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 1972] Fail to load I4B traces

Date: Mon, 5 Nov 2007 12:41:07 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1972





------- Comment #2 from anders.broman@xxxxxxxxxxxx  2007-11-05 12:41 GMT -------
The file is picked up by ../wiretap/ber.c rather than ../wiretap/i4btrace.c
But changing:
  if(len) { /* if we have a length, check it */
    len += (2 + nlb); /* add back Tag and Length bytes */
    file_size = wtap_file_size(wth, err);

    if(len != file_size) {
      return 0; /* not ASN.1 */
    }
  }
To:
  if(len) { /* if we have a length, check it */
    len += (2 + nlb); /* add back Tag and Length bytes */
    file_size = wtap_file_size(wth, err);

    if(len != file_size) {
      return 0; /* not ASN.1 */
    }
  }else{
          return 0;
  }
Throws up another error:'
The capture file appears to be damaged or corrupt.
(erf: File has 4294967280-byte packet, bigger than maximum of 65535)


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.