[tz] signed overflow
Paul Eggert
eggert at cs.ucla.edu
Tue Mar 10 16:41:11 UTC 2015
On 03/09/2015 09:08 AM, Richter, Jörg wrote:
> The last *= 2 will overflow a signed integer time_t. This can be fixed
> with “lo = -1” instead of “lo = 1”.
Thanks for reporting that bug. Attached is a proposed patch that should
solve the problem in a simpler way. (It also fixes some nearby white
space problems.) I've installed this in the experimental version on github.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Avoid-integer-overflow-in-mktime.patch
Type: text/x-patch
Size: 1840 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20150310/c430f89a/attachment.bin>
More information about the tz
mailing list