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

L1T ASAN heap-buffer-overflow fix resulting from PR #36919 #37253

Merged
merged 1 commit into from Mar 20, 2022

Conversation

gk199
Copy link
Contributor

@gk199 gk199 commented Mar 15, 2022

PR description:

Fixing the heap-buffer-overflow in l1t::stage2::CaloLayer1Packer::makeHCalTPGs() resulting from PR #36919, and identified in Issue #37012. One file is changed: CaloLayer1Packer.cc, moving the loop that sets fg_bits to inside the conditional to ensure that this is only done when id is found. fg_bits is declared as a uint_32, and the bit setting is done via |= (more robust than the initial implementation).

PR validation:

Passed runTheMatrix.py in CMSSW_12_3_X_2022-03-14-1100.

In CMSSW_12_4_ASAN_X_2022-03-14-1100, step2 heap-buffer-overflow is resolved, tested with runTheMatrix.py -l 39834.0.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Fix to PR #36919. Would like to be included in CMSSW_12_3_0.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 15, 2022

A new Pull Request was created by @gk199 (Gillian Kopp) for CMSSW_12_3_X.

It involves the following packages:

  • EventFilter/L1TRawToDigi (l1)

@epalencia, @cmsbuild, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks.
@dinyar, @missirol, @Martin-Grunewald, @thomreis, @eyigitba this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@epalencia
Copy link
Contributor

Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c6ae3f/23140/summary.html
COMMIT: 24cd926
CMSSW: CMSSW_12_3_X_2022-03-15-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/37253/23140/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3695161
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3695134
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@qliphy
Copy link
Contributor

qliphy commented Mar 16, 2022

@gk199 Please make a forward PR to current master, i.e. 12_4_X

@cecilecaillol
Copy link
Contributor

+l1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_4_X is complete. 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)

@qliphy
Copy link
Contributor

qliphy commented Mar 18, 2022

@cms-sw/l1-l2 Please also check and sign the master PR #37257

@perrotta
Copy link
Contributor

backport of #37257

@qliphy
Copy link
Contributor

qliphy commented Mar 20, 2022

+1

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

6 participants