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
L1EGammaCrystalsEmulatorProducer writes out of array bounds #37694
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 |
The first reported problem is here cmssw/L1Trigger/L1CaloTrigger/plugins/L1EGammaCrystalsEmulatorProducer.cc Lines 1044 to 1047 in c5448e1
it is in the second index used for accessing
where the second index is of size
The loop limits are jj < unsigned(cluster_list_L2[ii].size()) && jj < n_clusters_4link with
given
then the max value of the index used doing the lookup is So it appears the loop end condition of |
Fixed in #37705 |
+l1 |
This issue is fully signed and ready to be closed. |
The UBSAN report has
and the same report for lines 1048, 1058, 1060, 1062 and out of bounds for an float array at 1050, 1052, 1054, and 1056.
The text was updated successfully, but these errors were encountered: