Merge branch 'master' into autotools-conversion

This commit is contained in:
Jon Trulson
2019-12-01 13:31:21 -07:00
5 changed files with 12 additions and 19 deletions

View File

@@ -359,7 +359,7 @@ static int DefaultOutputString(ClientData clientData,
/* leave room for worst case expansion plus quotes plus null */
pArgv = argv[1];
stringLength = (3 * strlen(pArgv)) + 3;
stringLength = (4 * strlen(pArgv)) + 3;
string = Tcl_Alloc(stringLength);
memset(string, 0, stringLength);