diff options
author | dgp <dgp@users.sourceforge.net> | 2017-09-11 17:17:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-09-11 17:17:11 (GMT) |
commit | 65e82cdc180bb124392469acc17c1400641a3452 (patch) | |
tree | d8231cf874e85eb92ec7bd6bd88410d6db797ea6 /generic | |
parent | b35ecfcd1b722f42f4acfcfb8550d7d78a9117a8 (diff) | |
download | tcl-65e82cdc180bb124392469acc17c1400641a3452.zip tcl-65e82cdc180bb124392469acc17c1400641a3452.tar.gz tcl-65e82cdc180bb124392469acc17c1400641a3452.tar.bz2 |
Stop crash in oo.test
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclObj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 5d459ac..dc2824d 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -1779,6 +1779,9 @@ DupHydra( fakeSrcObj.internalRep = hydraPtr->client[i].internalRep; fakeSrcObj.typePtr = hydraPtr->client[i].typePtr; + /* DANGER? */ + fakeCopyObj.bytes = copyPtr->bytes; + fakeCopyObj.length = copyPtr->length; fakeSrcObj.typePtr->dupIntRepProc(&fakeSrcObj, &fakeCopyObj); if ((fakeSrcObj.refCount != 10) |