From 7d4ae22417bc5433dc33fab073459618a93834b5 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 26 Apr 2015 05:31:16 +0000 Subject: [PATCH] [CMD] - Account for null terminator returned from RegQueryInfoKey CORE-6976 svn path=/trunk/; revision=67430 --- reactos/base/shell/cmd/assoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/base/shell/cmd/assoc.c b/reactos/base/shell/cmd/assoc.c index d78a225ab1c..133785b69df 100644 --- a/reactos/base/shell/cmd/assoc.c +++ b/reactos/base/shell/cmd/assoc.c @@ -116,6 +116,7 @@ PrintAllAssociations() return -2; } + extLength++; extName = cmd_alloc(extLength * sizeof(TCHAR)); for(keyCtr = 0; keyCtr < numKeys; keyCtr++)