fix(freertos): Limit idle task name length for copy operation

This commit:
- Updates the FreeRTOS kernel prvCreateIdleTasks() function to
limit the length of the IDLE task name before copying it to avoid memory
out-of-bounds warnings.
- Fixes a bug where in the IDLE task name string could be a non
  null-terminated string in SMP configuration.
This commit is contained in:
Sudeep Mohanty
2024-12-21 12:49:17 +05:30
committed by BOT
parent 88d42e8b6a
commit 65dba9f930
2 changed files with 22 additions and 36 deletions
@@ -203,6 +203,7 @@ List of changes made to Vanilla FreeRTOS V10.5.1 header files to allow for build
### tasks.c
- Backported a change where the IDLE tasks are created with the core ID as a suffix in the task name.
- Backported a change where the IDLE task name copy length is restricted to avoid out-of-bounds copy errors.
### timers.c