Tim Deegan
2010-May-25 14:50 UTC
[Xen-devel] [PATCH] When a VM''s wallclock offset is negative enough, gmtime() can be called
with an underflowed uint64, which it then tries to divide into years by subtraction. Handle the input as a 40-bit signed integer instead. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-May-25 15:02 UTC
RE: [Xen-devel] [PATCH] When a VM''s wallclock offset is negative enough, gmtime() can be called
+ /* 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 > > with an underflowed uint64, which it then tries to divide into years by > subtraction. Handle the input as a 40-bit signed integer instead. > > Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel