-
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
[UBSAN] Undefined behavior in DataFormats/FEDRawData #35035
Comments
A new Issue was created by @mrodozov Mircho Rodozov. @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign daq |
This is caused by From DataFormats/FEDRawData/src/fed_header.h:
So, instead of |
+1 |
This issue is fully signed and ready to be closed. |
Thanks, I edited the PR and included "Fixes: #35035" |
The UBSAN IB reports undefined behavior in 1 file, with example relval and step they appear in:
11603.0 step2
DataFormats/FEDRawData/src/FEDHeader.cc:37:24: runtime error: left shift of 65535 by 20 places cannot be represented in type 'int'
check the relval logs in here for the examples:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/ubsan_logs/relvals/11603.0_SingleElectronPt1000+2021+SingleElectronPt1000_pythia8_GenSimINPUT+Digi+Reco+HARVEST+ALCA/step2_SingleElectronPt1000+2021+SingleElectronPt1000_pythia8_GenSimINPUT+Digi+Reco+HARVEST+ALCA.log
The text was updated successfully, but these errors were encountered: