summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk/check.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-30 06:24:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-30 07:21:06 +0200
commit5ee70c548708d39dabdb595d54029cf762e2d4c4 (patch)
tree7ed6e21af208fc3164c57f6dbc4e2a81c62cf556 /cpukit/libmisc/stackchk/check.c
parentlibdl/arm: Fix ARM mode trampoline parsing of relocs (diff)
downloadrtems-5ee70c548708d39dabdb595d54029cf762e2d4c4.tar.bz2
Add and use THREAD_DEFAULT_MAXIMUM_NAME_SIZE
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stackchk/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index a3f9a1d21e..3b8cf69a12 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -250,7 +250,7 @@ static void Stack_check_report_blown_task(
{
const Stack_Control *stack = &running->Start.Initial_stack;
void *pattern_area = Stack_check_Get_pattern(stack);
- char name[32];
+ char name[2 * THREAD_DEFAULT_MAXIMUM_NAME_SIZE];
printk("BLOWN STACK!!!\n");
printk("task control block: 0x%08" PRIxPTR "\n", (intptr_t) running);