...
Note that this loop may still not exit, as the range of time_t
may not be able to represent two times seconds_to_work
apart.
Risk Assessment
Using time_t
incorrectly can lead to broken logic that could place a program in an infinite loop or cause an expected logic branch to not actually execute.
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
MSC05-A | 1 (low) | 1 (low) | 2 (medium) | P2 | L3 |
...