diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-22 16:19:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-22 16:19:13 (GMT) |
commit | af5dea2fa5e46b709e170f568e91b87eea7f1316 (patch) | |
tree | 8d98b15681500e2e5f30f3ed399d543a7d3d367f /generic/tclTestObj.c | |
parent | fce856a1084d7f8d4f52f280098a52e1e1296812 (diff) | |
parent | 625601df98d11322892eace36f9181a7c67364c4 (diff) | |
download | tcl-af5dea2fa5e46b709e170f568e91b87eea7f1316.zip tcl-af5dea2fa5e46b709e170f568e91b87eea7f1316.tar.gz tcl-af5dea2fa5e46b709e170f568e91b87eea7f1316.tar.bz2 |
Fix [6eb8d79cb8]: segfault in obj-34.1
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r-- | generic/tclTestObj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index 8a9dc7b..4a23369 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -109,6 +109,9 @@ TclObjTest_Init( */ Tcl_Obj **varPtr; + if (Tcl_TomMath_InitStubs(interp, "8.5-") == NULL) { + return TCL_ERROR; + } varPtr = (Tcl_Obj **)ckalloc(NUMBER_OF_OBJECT_VARS *sizeof(varPtr[0])); if (!varPtr) { return TCL_ERROR; |