RTEMS | _Timecounter_Time_uptime: Change from int32_t to time_t (!402)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Feb 6 22:57:30 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/402

Project:Branches: joel/rtems:change-int32_t-to-time_t to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

_Timecounter_Time_uptime: Change from int32_t to time_t

Using int32_t results in an overflow in Y2038. This was
detected by Covered as  CIDs 1512549 and 1512552.

Closes #5204

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/402
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250206/7cdc4d50/attachment.htm>


More information about the bugs mailing list