-
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
KFbase is reading beyond array bounds #37696
Comments
assign l1 |
New categories assigned: l1 @epalencia,@rekovic,@cecilecaillol you have been requested to review this Pull request/Issue and eventually sign? Thanks |
A new Issue was created by @Dr15Jones Chris Jones. @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
I checked out the package and built it under debug and added asserts to test the following read
I ran in the debugger and saw the failure. The traceback was
In the call to cmssw/L1Trigger/TrackFindingTMTT/src/KFbase.cc Lines 239 to 248 in 5920cbe
The other important state information about where it was in the loops are
So it is on its last iteration check and has already skipped over two layers. It also means the call to
must have returned 7. So the number of layers being allowed by the loop (which must be 8 since we start counting at 0?) is greater than what is expected in |
Fixed in #37700 |
+l1 |
This issue is fully signed and ready to be closed. |
The issue from UBSAN is
The text was updated successfully, but these errors were encountered: