[Bug 10643] cmp_time() returns incorrect result due to integer overflow

samba-bugs at samba.org samba-bugs at samba.org
Sun Jun 15 19:02:31 MDT 2014


Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Wayne Davison <wayned at samba.org> 2014-06-16 01:02:30 UTC ---
To avoid having to figure out if a system has difftime(), I just fixed the
logic in cmp_time() to work even if things overflow.  Thanks for noticing the
wacko result and diagnosing the cause.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list