-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
L1T ASAN heap-buffer-overflow fix resulting from PR #36919 #37253
Conversation
A new Pull Request was created by @gk199 (Gillian Kopp) for CMSSW_12_3_X. It involves the following packages:
@epalencia, @cmsbuild, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c6ae3f/23140/summary.html Comparison SummarySummary:
|
@gk199 Please make a forward PR to current master, i.e. 12_4_X |
+l1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_4_X is complete. 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) |
@cms-sw/l1-l2 Please also check and sign the master PR #37257 |
backport of #37257 |
+1 |
PR description:
Fixing the heap-buffer-overflow in l1t::stage2::CaloLayer1Packer::makeHCalTPGs() resulting from PR #36919, and identified in Issue #37012. One file is changed:
CaloLayer1Packer.cc
, moving the loop that setsfg_bits
to inside the conditional to ensure that this is only done whenid
is found.fg_bits
is declared as a uint_32, and the bit setting is done via |= (more robust than the initial implementation).PR validation:
Passed
runTheMatrix.py
inCMSSW_12_3_X_2022-03-14-1100
.In
CMSSW_12_4_ASAN_X_2022-03-14-1100
, step2 heap-buffer-overflow is resolved, tested withrunTheMatrix.py -l 39834.0
.if this PR is a backport please specify the original PR and why you need to backport that PR:
Fix to PR #36919. Would like to be included in CMSSW_12_3_0.