diff options
| author | bernard <[email protected]> | 2026-11-07 03:04:15 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-11-08 14:11:28 +0800 |
| commit | cf85de90b8e1af46cb53957e277b2f257e440c35 (patch) | |
| tree | 3948881a9e3f3a8767cca300b398ad3c53fb5481 /documentation/5.device/framework | |
| parent | 0b682003ff79d9b74e213fb0d442d29576b7e994 (diff) | |
[libc] fix: bounds-check timer id in timer_gettime/settime
timer_gettime() and timer_settime() indexed _g_timerid[] with the raw
timer_t value, unlike timer_delete(). Reject ids >= TIMER_ID_MAX before
the lookup to keep the table access in bounds.
Diffstat (limited to 'documentation/5.device/framework')
0 files changed, 0 insertions, 0 deletions
