]> begriffs open source - freertos/commit
fix(freertos): Limit idle task name length copy operation and ensure null-termination...
authorSudeep Mohanty <91244425+sudeep-mohanty@users.noreply.github.com>
Fri, 20 Dec 2024 07:43:04 +0000 (13:13 +0530)
committerGitHub <noreply@github.com>
Fri, 20 Dec 2024 07:43:04 +0000 (13:13 +0530)
commitf31787d35d5614620fc6fefa6c12df2583612fcf
tree715d4617a0dc3e826ac38c0675c218d4a30a1b7e
parentcc31510088d7f7472d57967ed0011b5303dffafa
fix(freertos): Limit idle task name length copy operation and ensure null-termination of the idle task name string (#1203)

* fix(freertos): Limit idle task name copy operation and ensure null termination

This commit:
- Limits the idle task name length copy operation to prevent
  Out-of-bounds memory access warnings from static code analyzers.
- Fixes a bug where in the idle task name could be non null-terminated
  string for SMP configuration.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
tasks.c