-
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 fix reading array beyond bounds #37700
Conversation
@skinnari @tomalin This is an ad-hoc fix to reading indices beyond an array size. You may want to check the rest of the code to understand why this call happened. There are more details in the issue quoted in the description of the PR. If you are fine with this fix we can also merge it without further checks. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37700/29525
|
A new Pull Request was created by @cecilecaillol for master. 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-e1285c/24301/summary.html Comparison SummarySummary:
|
In cmssw/L1Trigger/TrackFindingTMTT/src/KFbase.cc Lines 241 to 244 in 76382e9
layer gets increased to 8 and in the following kalmanAmbiguousLayer(etaReg, layer) the out-of-bound argument 8 is feed in input.
I think that the correct fix to the issue at hand should consider how to deal with such a case. Analogously, also if the 7th layer is "kalmanAmbiguous" then |
I don’t know this part of the code well. @tomalin or @Jingyan95 or @tschuh should be able to comment better. |
I agree that the fix you propose makes sense. |
1 similar comment
I agree that the fix you propose makes sense. |
+l1 |
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:
Addressing issue #37696 where an array was read beyond bounds