From: Dan Magenheimer Subject: RE: [PATCH] When a VM's wallclock offset is negative enough, gmtime() can be called Date: Tue, 25 May 2010 08:02:30 -0700 (PDT) Message-ID: <1da68a50-97a7-447d-8cc6-9dbd09876b72@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org + /* Allow the concept of time before 1970. 64-bit only; for 32-bit /me pictures Tim as a 1960's beatnik :-) > -----Original Message----- > From: Tim Deegan [mailto:Tim.Deegan@citrix.com] > Sent: Tuesday, May 25, 2010 8:50 AM > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] [PATCH] When a VM's wallclock offset is negative > enough, gmtime() can be called >=20 > with an underflowed uint64, which it then tries to divide into years by > subtraction. Handle the input as a 40-bit signed integer instead. >=20 > Signed-off-by: Tim Deegan >=20 >=20