Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaudi
Gaudi
Merge requests
!1498
Draft: Fix reports from sanitizers builds
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Fix reports from sanitizers builds
v36/fix-sanitizers-reports
into
v36-patches
Overview
1
Commits
1
Pipelines
1
Changes
1
Open
Marco Clemencic
requested to merge
v36/fix-sanitizers-reports
into
v36-patches
1 year ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Use dynamic_cast instead of c-cast to avoid UB
0
0
Merge request reports
Compare
v36-patches
v36-patches (HEAD)
and
latest version
latest version
0e098d69
1 commit,
1 year ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
RootCnv/src/RootIOHandler.cpp
+
2
−
2
Options
/***********************************************************************************\
* (c) Copyright 1998-20
19
CERN for the benefit of the LHCb and ATLAS collaborations *
* (c) Copyright 1998-20
23
CERN for the benefit of the LHCb and ATLAS collaborations *
* *
* This software is distributed under the terms of the Apache version 2 licence, *
* copied verbatim in the file "LICENSE". *
@@ -173,7 +173,7 @@ namespace GaudiRoot {
Version_t
version
=
b
.
ReadVersion
(
&
start
,
&
count
,
m_root
);
m_root
->
ReadBuffer
(
b
,
obj
,
version
,
start
,
count
);
ContainedObject
*
p
=
(
ContainedObject
*
)
obj
;
p
->
setParent
(
(
ObjectContainerBase
*
)
Gaudi
::
getCurrentDataObject
()
);
p
->
setParent
(
dynamic_cast
<
ObjectContainerBase
*
>
(
Gaudi
::
getCurrentDataObject
()
)
);
}
template
<
>
Loading