-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DataFormats/FEDRawData UBSAN warning fixed #35039
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35039/24900
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
b183fbd
to
b876620
Compare
code-checks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35039/24903
|
A new Pull Request was created by @smorovic (Srecko Morovic) for master. It involves the following packages:
@cmsbuild, @emeschi, @smorovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
please test for CMSSW_12_1_UBSAN_X |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-af52ce/18079/summary.html Comparison SummarySummary:
|
+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) |
please test for CMSSW_12_1_UBSAN_X |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-af52ce/18111/summary.html Comparison SummarySummary:
|
+1 |
Fixes UBSAN warning in:
#35035
12-bits are used for BX ID in the format, but a wider variable is used in C++ code. When compacted into FED header format, it would be truncated even if non-zero (which should not be the case with bx ID).
PR validation:
Behavior of the code doesn't change (operation is equivalent).
Fixes: #35035