Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1283548
| From | Sasha Levin <sasha.levin@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm |
| Date | 2015-12-04 03:10 +0100 |
| Message-ID | <qBNYR-4Wx-11@gated-at.bofh.it> (permalink) |
| References | <qBMgp-3Ms-7@gated-at.bofh.it> <qBNPb-4Dl-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12/03/2015 08:55 PM, Alexandre Belloni wrote: > On 03/12/2015 at 19:12:24 -0500, Sasha Levin wrote : >> > At some point after humans go extinct and robots cotrol the world, dividing >> > he time64_t by 86400 to extract the days will overflow a 32bit integer, >> > leading to incorrect conversion into rtc_time in rtc_time64_to_tm(). >> > > And at that time, the robots won't care about 32bit platforms :) One can only hope... :) I'll resend. Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm Sasha Levin <sasha.levin@oracle.com> - 2015-12-04 01:20 +0100
Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm kbuild test robot <lkp@intel.com> - 2015-12-04 01:30 +0100
Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm kbuild test robot <lkp@intel.com> - 2015-12-04 02:50 +0100
Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm kbuild test robot <lkp@intel.com> - 2015-12-04 02:50 +0100
Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-12-04 03:00 +0100
Re: [PATCH] rtc: fix overflow and incorrect calculation in rtc_time64_to_tm Sasha Levin <sasha.levin@oracle.com> - 2015-12-04 03:10 +0100
csiph-web