diff options
author | dgp <dgp@users.sourceforge.net> | 2016-03-23 04:50:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-03-23 04:50:21 (GMT) |
commit | 37f5c2af038e71d1c88fe0fcb9d061b6c620dec0 (patch) | |
tree | 014531847a0b5225798ae91072804b42aaa1b1f7 /generic/tclObj.c | |
parent | 95de12dbb42d94ed5f716d91bb4500ba5ae08616 (diff) | |
download | tcl-37f5c2af038e71d1c88fe0fcb9d061b6c620dec0.zip tcl-37f5c2af038e71d1c88fe0fcb9d061b6c620dec0.tar.gz tcl-37f5c2af038e71d1c88fe0fcb9d061b6c620dec0.tar.bz2 |
Make sure no path emerges to write on tclEmptyStringRep.
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 7fe0293..4f7194b 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -1765,6 +1765,7 @@ Tcl_InitStringRep( } } else { objPtr->bytes = tclEmptyStringRep; + return NULL; } } else { /* objPtr->bytes != NULL bytes == NULL - Truncate */ |