From 4638a97f97c44483b19350ab3a24f73b9ba9ec88 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 12 Nov 2014 18:54:35 -0600 Subject: [PATCH] task_start() no longer depends on CONFIG_MAX_TASK_ARGS --- sched/task/task_start.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sched/task/task_start.c b/sched/task/task_start.c index 1317d9a4eb..c608b16cfb 100644 --- a/sched/task/task_start.c +++ b/sched/task/task_start.c @@ -52,6 +52,11 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ +/* This is an artificial limit to detect error conditions where an argv[] + * list is not properly terminated. + */ + +#define MAX_START_ARGS 256 /**************************************************************************** * Private Type Declarations