Opened on 01/25/16 at 08:22:07
Closed on 09/30/21 at 05:27:45
#2548 closed defect (fixed)
Problematic integer conversion in rtems_clock_get_tod()
Reported by: | Sebastian Huber | Owned by: | Needs Funding |
---|---|---|---|
Priority: | normal | Milestone: | Indefinite |
Component: | unspecified | Version: | 4.11 |
Severity: | normal | Keywords: | qualification |
Cc: | Blocked By: | ||
Blocking: |
Description
We have
uint32_t days;
days = now.tv_sec / RTEMS_SECS_PER_DAY;
which converts time_t to uint32_t without any checks that this conversion is valid.
Change History (4)
comment:1 Changed on 01/26/17 at 07:16:00 by Sebastian Huber
Milestone: | 4.11.1 → 4.11.2 |
---|
comment:2 Changed on 02/15/17 at 13:37:51 by Sebastian Huber
Milestone: | 4.11.2 → Indefinite |
---|---|
Owner: | set to Needs Funding |
Status: | new → assigned |
comment:3 Changed on 06/18/21 at 09:24:45 by Sebastian Huber
Keywords: | qualification added |
---|
comment:4 Changed on 09/30/21 at 05:27:45 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In [changeset:"abda5595f89e3a02d5c99ca5c44b170f1c49d1e5/rtems" abda559/rtems]: