New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change signed int shifts to unsigned #36905
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36905/28207
|
A new Pull Request was created by @dan131riley (Dan Riley) for master. It involves the following packages:
@malbouis, @yuanchao, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type bug-fix |
@cmsbuild , please test |
@cmsbuild , please test for CMSSW_12_3_UBSAN_X |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-396742/22273/summary.html Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-396742/22274/summary.html Comparison SummarySummary:
|
+l1 |
+1
|
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
CondFormats/L1TObjects/src/LUT.cc has a couple of shifts, found by UBSAN, that overflow a signed int. This PR changes these to unsigned int shifts (it's pretty clear from the code that this was the intent).
PR validation:
Prior to this PR, several workflows log UBSAN errors of the form:
With this PR, those runtime errors are fixed.