You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/02/05 04:57:01 UTC
[incubator-nuttx-apps] branch master updated: apps: elf: Fix stack
corruption in task test
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new bb3cd0a apps: elf: Fix stack corruption in task test
bb3cd0a is described below
commit bb3cd0a496deab345fcb160fb6487ec2d89f1a19
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Wed Feb 5 11:17:00 2020 +0900
apps: elf: Fix stack corruption in task test
Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
examples/elf/tests/task/task.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/elf/tests/task/task.c b/examples/elf/tests/task/task.c
index b19823f..1d075e3 100644
--- a/examples/elf/tests/task/task.c
+++ b/examples/elf/tests/task/task.c
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
child_argv[0] = child_arg;
child_argv[1] = 0;
- child_pid = task_create(child_name, 50, 512, child_task, (FAR char * const *)child_argv);
+ child_pid = task_create(child_name, 50, 2048, child_task, (FAR char * const *)child_argv);
if (child_pid < 0)
{
printf("Parent: task_create failed: %d\n", errno);