Closed iarspider closed 3 weeks ago
assign L1Trigger/L1TMuonEndCapPhase2
New categories assigned: l1,upgrade
@epalencia,@aloeliger,@srimanob,@subirsarkar you have been requested to review this Pull request/Issue and eventually sign? Thanks
cms-bot internal usage
A new Issue was created by @iarspider.
@Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks.
cms-bot commands are listed here
@cms-sw/l1-l2 @cms-sw/upgrade-l2 From the comment on line 99 I think the loop should be
for (unsigned int i = 0; i < keep_n_roads - 16; ++i) {
roads_kept[i] = roads_kept[i + 16];
}
The current version of loop clearly accesses array past it's bounds.
@cms-sw/l1-l2 @cms-sw/upgrade-l2 gentle ping
@omiguelc I think you're the contact I have on muon endcap.
@aloeliger You're right. That is a bug. Should I open a PR into master?
This should fix it:
for (unsigned int i = 16; i < (keep_n_roads - 16); ++i) {
roads_kept[i] = roads_kept[i + 16];
}
Should I open a PR into master?
Yes, please. Thanks!
Done, here's the PR: https://github.com/cms-sw/cmssw/pull/45581
@cmsbuild please close
In CMSSW_14_1_ASAN_X_2024-07-15-2300, several RelVals failed with
stack-buffer-overflow
inemtf::phase2::algo::RoadSortingLayer::apply
:(example log: link)