UBSAN: Fixing improper cast to RectangularPixelTopology#50883
UBSAN: Fixing improper cast to RectangularPixelTopology#50883smuzaffar wants to merge 1 commit intocms-sw:masterfrom
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50883/49236 |
|
A new Pull Request was created by @smuzaffar for master. It involves the following packages:
@civanch, @cmsbuild, @kpedro88, @mdhildreth, @ssekmen can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
|
please test workflow 36434.0 with #50882 for CMSSW_17_0_UBSAN_X |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
|
+fastsim |
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @ftenchini, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
|
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a33227/53082/runTheMatrix-results/36434.0_TTbar_14TeV+Run4D110FS/step2_TTbar_14TeV+Run4D110FS.log shows that there are no more runtime error for |
This PR proposes to drop the explicit improper cast to
RectangularPixelTopology. With Phase2 geometryis
RectangularPixelPhase2Topologyinstead ofRectangularPixelTopology. Existing code explicitly casts it toRectangularPixelTopology. See #50664 whereUBSANIBs reports this runtime issue/error.As all the baseclass member functions called via
rectPixelTopologyare overridden inRectangularPixelTopologyandRectangularPixelPhase2Topologyso there is no need of explicit cast. One should be able to just use the base pointer toPixelTopologyFixes #50664