Wireshark-bugs: [Wireshark-bugs] [Bug 2067] mergecap fails when "time_t" is "int"

Date: Wed, 5 Dec 2007 00:16:37 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2067





------- Comment #3 from guy@xxxxxxxxxxxx  2007-12-05 00:16 GMT -------
If "time_t" is "int", "LONG_MAX" overflows "tv.tv_secs" *IF* "LONG_MAX" is
larger than the largest possible value of an "int" - so this won't happen on
ILP32 platforms (for example, x86), it'll only happen on LP64 platforms (for
example, x86-64).

Unfortunately, my only current BSD virtual machine is x86, not x86-64; I'll set
up an x86-64 BSD virtual machine for testing.

Note also that LONG_MAX is also wrong for "nsecs".


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