TrampolineRTOS / trampoline

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.2 standards.
GNU General Public License v2.0
599 stars 263 forks source link

[os] [tpl_os_timeobj_kernel] Uninitialized variable #126

Open szsam opened 1 year ago

szsam commented 1 year ago

https://github.com/TrampolineRTOS/trampoline/blob/7ac178b0f67268735e8f9084cac49efe545ae80c/os/tpl_os_timeobj_kernel.c#L231 The variable last_to may not be initialized at this access.