Skip to content
Snippets Groups Projects
Commit 614bd9b1 authored by Rene Brun's avatar Rene Brun
Browse files

Add protections in TSocket::RecvStreamerInfos when receiving a TStreamerInfo with

a class not yet in the class table.


git-svn-id: http://root.cern.ch/svn/root/trunk@24503 27541ba8-7e3a-0410-8455-c3a389f83636
parent 22ab6c7c
No related branches found
No related tags found
No related merge requests found
......@@ -812,9 +812,13 @@ Bool_t TSocket::RecvStreamerInfos(TMessage *mess)
TStreamerInfo *info;
while ((info = (TStreamerInfo*)next())) {
Int_t oldc = info->GetClassVersion();
TClass *cl = TClass::GetClass(info->GetName());
TClass *cl = TClass::GetClass(info->GetName(),kTRUE);
if (!cl) {
info->BuildCheck();
continue;
}
cl->GetStreamerInfo();
if (cl && cl->GetStreamerInfos()->At(oldc)) {
if (cl->GetStreamerInfos()->At(oldc)) {
continue;
}
info->BuildCheck();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment