v01d commented on a change in pull request #3289:
URL: https://github.com/apache/incubator-nuttx/pull/3289#discussion_r606664657
##########
File path: sched/task/task_init.c
##########
@@ -137,6 +137,10 @@ int nxtask_init(FAR struct task_tcb_s *tcb, const char
*name, int priority,
group->tg_libvars = up_stack_frame(&tcb->cmn, sizeof(struct libvars_s));
DEBUGASSERT(group->tg_libvars != NULL);
+ /* Initialize the task-specific data */
+
+ memset(group->tg_libvars, 0, sizeof(struct libvars_s));
Review comment:
Oh, sorry!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]