Skip to content
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

Fix array bounds overrun in DetectPatterns(), 80x version #14955

Merged

Conversation

dan131riley
Copy link

80x backport of the fix in #14941 as requested by @Martin-Grunewald in comments to that PR.

The DetectPatterns() routine was running off both ends of the ranka_t vector due to a misplaced bounds check. This was causing occasional crashes, particularly in the multi-threaded integration builds where the memory layout is more scattered.

I also added "const" to some file-level statics that our static code analyzer complains about.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @dan131riley (Dan Riley) for CMSSW_8_0_X.

It involves the following packages:

L1Trigger/L1TMuonEndCap

@cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@Martin-Grunewald
Copy link
Contributor

Thanks!

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 23, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13633/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@davidlange6 davidlange6 merged commit b01daad into cms-sw:CMSSW_8_0_X Jun 24, 2016
@dan131riley dan131riley deleted the L1TMuonEndCap-array-bounds-fix-80x branch August 8, 2016 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants