Index: generic/nsf.c =================================================================== diff -u -rbd4d7d05236089179f0ecfd10b5fc23c7af86e9f -rf90a7fadfad292db51ef8f46fbd477bf82f2ee78 --- generic/nsf.c (.../nsf.c) (revision bd4d7d05236089179f0ecfd10b5fc23c7af86e9f) +++ generic/nsf.c (.../nsf.c) (revision f90a7fadfad292db51ef8f46fbd477bf82f2ee78) @@ -13515,9 +13515,11 @@ /* * Skip entries until the first base class. */ - for (; classListPtr; classListPtr = classListPtr->nextPtr) { + do { if (IsBaseClass(&classListPtr->cl->object)) {break;} - } + classListPtr = classListPtr->nextPtr; + } while (classListPtr->nextPtr != NULL); + cl = SearchPLMethod(classListPtr, methodName, &cmd, NSF_CMD_CALL_PRIVATE_METHOD); } else { cl = SearchPLMethod(currentClass->order, methodName, &cmd, NSF_CMD_CALL_PRIVATE_METHOD);