[Bug 2135] New: times() and _times() are subject to integer overflows

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jul 30 08:06:13 UTC 2013


https://www.rtems.org/bugzilla/show_bug.cgi?id=2135

             Bug #: 2135
           Summary: times() and _times() are subject to integer overflows
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de


The clock_t type is defined as unsigned long for RTEMS in Newlib.  With a 1ms
clock tick an overflow happens after 7 days on 32-bit long targets.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list