OSDN Git Service

Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a.
authorElliott Hughes <enh@google.com>
Thu, 22 Aug 2013 21:13:50 +0000 (14:13 -0700)
committerElliott Hughes <enh@google.com>
Thu, 22 Aug 2013 21:18:04 +0000 (14:18 -0700)
commit713fe6463e6ff8cb9689aa8ead88c885d25d03aa
tree76decfb3114af9fbcf85ca6f1c99c94177642023
parentc44205cf717fc8ab8ccaf3631032fa236ba61a86
Apply upstream commit 943a6621866e9d6e654f5cfe1494378c1fb8957a.

Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Aug 22 12:47:51 2013 -0700

    * localtime.c: Fix another integer overflow bug in mktime.

    (time2sub): Avoid undefined behavior on time_t overflow.
    Reported by Elliott Hughes in
    <http://mm.icann.org/pipermail/tz/2013-August/019580.html>.

Bug: 10310929
Change-Id: I3bf26f1f91371552e0a3828457d27e22af55acb2
libc/Android.mk
libc/tzcode/localtime.c
libc/tzcode/private.h