Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix issue #6670. Avoid infinite recursion from TClass::InheritsFrom.
Do not inadvertently request TClass::fProperty's initialization during TProtoClass::FillTClass,
the former ends up calling TProtoClass::FillTClass thus leading to an infinite recursion.
  • Loading branch information
pcanal committed Oct 21, 2020
commit b17a9fe98948d6f5e16febf39bf2a365f7e18f5d
2 changes: 1 addition & 1 deletion core/meta/src/TProtoClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Bool_t TProtoClass::FillTClass(TClass* cl) {
Info("FillTClass", "Returning w/o doing anything. %s is a STL collection.",cl->GetName());
return kFALSE;
}
if (cl->Property() & kIsNamespace) {
if (cl->fProperty != -1 && (cl->fProperty & kIsNamespace)) {
if (gDebug > 0)
Info("FillTClass", "Returning w/o doing anything. %s is a namespace.",cl->GetName());
return kFALSE;
Expand Down