rtos/ThreadX: added check for NULL-named tasks
commit2e9f04c11a5aeb9c7aa9d387f9f4d0e7c65a1f5b
authorGiulio Fieramosca <giulio@glgprograms.it>
Thu, 3 Nov 2022 19:38:20 +0000 (3 20:38 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 15 Nov 2022 21:35:12 +0000 (15 21:35 +0000)
tree5f189d0c83710f035cf002bd7dc9a7f789ed249c
parent2bad55bf83bcd4a24711a88b06971f3f828947bd
rtos/ThreadX: added check for NULL-named tasks

Thread name loading was not correctly handled if a ThreadX task has a NULL
name.

Signed-off-by: Giulio Fieramosca <giulio@glgprograms.it>
Change-Id: I03071930182bc2585b61ce5d8c67491710883dd6
Reviewed-on: https://review.openocd.org/c/openocd/+/7328
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/rtos/ThreadX.c