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

Fixed sprintf buffer length problems #23234

Merged
merged 1 commit into from May 21, 2018

Conversation

Dr15Jones
Copy link
Contributor

gcc 8 was issuing errors for the uses of sprintf where the buffer
was not long enough to contain the full range of integral values.
This change increased the buffer size to match what the compiler
found as the maximum theoretical size and changed to using
snprintf.

gcc 8 was issuing errors for the uses of sprintf where the buffer
was not long enough to contain the full range of integral values.
This change increased the buffer size to match what the compiler
found as the maximum theoretical size and changed to using
snprintf.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

DataFormats/Scalers

@perrotta, @cmsbuild, @emeschi, @nsmith-, @rekovic, @thomreis, @slava77, @mommsen can you please review it and eventually sign? Thanks.
@rovere this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 17, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28017/console Started: 2018/05/17 20:31

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23234/28017/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 2358 differences found in the comparisons
  • DQMHistoTests: Total files compared: 30
  • DQMHistoTests: Total histograms compared: 2740553
  • DQMHistoTests: Total failures: 11958
  • DQMHistoTests: Total nulls: 10
  • DQMHistoTests: Total successes: 2728402
  • DQMHistoTests: Total skipped: 183
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.964 KiB( 29 files compared)
  • DQMHistoSizes: changed ( 250202.181 ): 1.964 KiB SiStrip/MechanicalView
  • Checked 124 log files, 14 edm output root files, 30 DQM output files

@mommsen
Copy link
Contributor

mommsen commented May 18, 2018

+1
Trivial change to safe snprintf. Thanks @Dr15Jones.

@perrotta
Copy link
Contributor

please test
(Trying to clean up the tests)

@cmsbuild
Copy link
Contributor

cmsbuild commented May 18, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28050/console Started: 2018/05/18 16:57

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23234/28050/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 30
  • DQMHistoTests: Total histograms compared: 2740553
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2740369
  • DQMHistoTests: Total skipped: 183
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 29 files compared)
  • Checked 124 log files, 14 edm output root files, 30 DQM output files

@perrotta
Copy link
Contributor

+1

  • Trivial technical change
  • Jenkins tests pass with no differences in reco output

@fabiocos
Copy link
Contributor

@thomreis @rekovic could you please check and sign?

@thomreis
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 0c859a2 into cms-sw:master May 21, 2018
@Dr15Jones Dr15Jones deleted the gcc8DataFormatsScalers branch May 22, 2018 14:52
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