RTEMS | cpukit/score/src/kern_ntptime.c: Use time_t not a 32-bit type (!179)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Aug 8 16:34:39 UTC 2024
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/179
Project:Branches: joel/rtems:kern_ntptime-uses-32-bit-for_time_t to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
cpukit/score/src/kern_ntptime.c: Use time_t not a 32-bit type
A time_t (tv_sec) was being assigned to a 32-bit variable. This
introduced a Y2038 issue.
Coverity CID 1512505
Closes #5111.
<!-- 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/179
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/20240808/8094d8da/attachment.htm>
More information about the bugs
mailing list