-
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
DAQ: fix FedRawData source going out of array boundaries(11_1_X backport) #32121
DAQ: fix FedRawData source going out of array boundaries(11_1_X backport) #32121
Conversation
mapping, but was allowed in modules, leading to reading out of boundaries. Hardcoded version is no longer used now except in header where it also defines array size.
A new Pull Request was created by @smorovic (Srecko Morovic) for CMSSW_11_1_X. It involves the following packages: EventFilter/Utilities @perrotta, @smuzaffar, @Dr15Jones, @makortel, @emeschi, @cmsbuild, @slava77, @jpata, @smorovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test for slc7_aarch64_gcc820 |
The tests are being triggered in jenkins.
|
please test for slc7_ppc64le_gcc820 |
The tests are being triggered in jenkins.
|
oh wait we don't have 11_1 ppc |
I wasn't seeing the PR number is different. There is no PPC release for this. Sorry |
please test |
The tests are being triggered in jenkins.
|
please test for CMSSW_11_1_CLANG_X |
The tests are being triggered in jenkins.
|
-1 |
+1 |
+1 |
+1
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_11_1_X IBs (but tests are reportedly failing) and once validation in the development release cycle CMSSW_11_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@smorovic so I assume it is not required for the next MWGR |
@silviodonato |
+1 |
merge |
PR description:
Fix FRD format array version check. Version 6 did not get added to the version size mapping, but was allowed in modules, leading to reading out of boundaries.
This by luck did not cause any problems so far on standard gcc builds on x86_64, but caused assertion in IB tests in for CLANG build, as well as ARM and PPC builds where it was spotted (see #32091)
Fix also removes hardcoded version from around the code. It is now defined only in the same header file where it also defines std::array size.
Bugfix doesn't change any other behavior.
Note: it does NOT affect anything used in production DAQ, only version 5 FRD is used there and that is not affected.
PR validation:
Fixes unit test in EventFilter/Utilities/test for CLANG build.
if this PR is a backport please specify the original PR and why you need to backport that PR:
Backport of #32116 (master)