bugfix: protection for non-existing data source in CbmMCDataArray
Protection for non-existing data source in CbmMCDataArray.
The following code crashes when the "MvdPoint" branch is not present in the data:
CbmMCDataArray *points = CbmMCDataManager::InitBranch("MvdPoint"); // OK, points !=nullptr
points->Size(file, event); // crash
Edited by Sergey Gorbunov
Merge request reports
Activity
added BugFix label
Dear @f.uhlig, @v.friese, @p.-a.loizeau,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
added 11 commits
-
90213635...ee73359c - 10 commits from branch
computing:master
- a218edbf - bugfix: protection of non-exsisting data source in CbmMCDataArray
-
90213635...ee73359c - 10 commits from branch
for me the fix looks reasonable. If you agree please merge the MR after the pipeline has finished.
Please register or sign in to reply