summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2017-03-29 19:07:44 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2017-03-29 19:07:44 (GMT)
commitff6f4d8dc03f67ebc6252b9ace70ef65d9f8826d (patch)
tree323707864f9531c31123118358537f8f27305c68 /generic
parent2bcac0715108b8c7158aa60f240c8c5dd26ad352 (diff)
parent41c4744202449c4e812732d5ff09104f866c1409 (diff)
downloadtcl-ff6f4d8dc03f67ebc6252b9ace70ef65d9f8826d.zip
tcl-ff6f4d8dc03f67ebc6252b9ace70ef65d9f8826d.tar.gz
tcl-ff6f4d8dc03f67ebc6252b9ace70ef65d9f8826d.tar.bz2
[900cb0284bc] Ensure that masking pseudo-methods used for export management are not introspectable directly.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclOOCall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c
index 8003345..ac0b94d 100644
--- a/generic/tclOOCall.c
+++ b/generic/tclOOCall.c
@@ -619,6 +619,7 @@ AddClassMethodNames(
int isWanted = (!(flags & PUBLIC_METHOD)
|| (mPtr->flags & PUBLIC_METHOD)) ? IN_LIST : 0;
+ isWanted |= (mPtr->typePtr == NULL ? NO_IMPLEMENTATION : 0);
Tcl_SetHashValue(hPtr, INT2PTR(isWanted));
} else if ((PTR2INT(Tcl_GetHashValue(hPtr)) & NO_IMPLEMENTATION)
&& mPtr->typePtr != NULL) {