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 580] Error "Arg list too long" when saving trace file > 2G

Date: Sun, 11 Feb 2007 04:52:54 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=580





------- Comment #11 from ulf.lamping@xxxxxx  2007-02-11 04:52 GMT -------
Some time ago I've fixed the wireshark code to use 64 bit integer for all
places where a file offset is used, this would - in theory - fix the problem. 

However, we use zlib to read capture files (which uncompresses gzipped files
transparently for us). Unfortunately, zlib only supports (unsigned?) long as
the file offset, which will leave us on 32bit platforms with the problem
described.

So unless we drop gzip support (by not using zlib), or find a way to circumvent
the zlib 32bit offset limitation, we'll stuck with this problem.

There were some thoughts to replace zlib with our own implementation, as zlib
doesn't work pretty fast with random access either. But I don't have enough
knowledge about this topic to do this myself.


-- 
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.