mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
[hrtimer] fixup use-after-free (#8928)
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
@@ -219,6 +219,7 @@ RTM_EXPORT(rt_cpus_lock_status_restore);
|
||||
|
||||
/* A safe API with debugging feature to be called in most codes */
|
||||
|
||||
#undef rt_cpu_get_id
|
||||
/**
|
||||
* @brief Get logical CPU ID
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user