[CMD]
[reactos.git] / reactos / base / shell / cmd / assoc.c
index d78a225..133785b 100644 (file)
@@ -116,6 +116,7 @@ PrintAllAssociations()
         return -2;
     }
 
+    extLength++;
     extName = cmd_alloc(extLength * sizeof(TCHAR));
 
     for(keyCtr = 0; keyCtr < numKeys; keyCtr++)