-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 safety issues in DQMOffline/Trigger #25640
Conversation
-Removed use of large array on the stack which could be overfilled -Avoid need to copy the input -Made const thread-safe by removing use of strtok
-Removed use of large array on the stack which could have buffer overflow -Avoid need to copy the input -Made const thread-safe by removing use of strtok
The code-checks are being triggered in jenkins. |
This may fix the problem seen in #14897 |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25640/7961
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: DQMOffline/Trigger @kmaeshima, @cmsbuild, @andrius-k, @jfernan2, @schneiml can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 39b40b8 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: You can see the results of the tests here: I found follow errors while testing this PR Failed tests: ClangBuild
I found compilation warning while trying to compile with clang. Command used:
See details on the summary page. The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison not run due to Build errors/Fireworks only changes/No short matrix requested (RelVals and Igprof tests were also skipped) |
The code-checks are being triggered in jenkins. |
unhold |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25640/7969
|
Pull request #25640 was updated. @kmaeshima, @cmsbuild, @andrius-k, @jfernan2, @schneiml can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
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) |
+1 |
Fixed potential stack buffer overflows and removed use of strtok since that function is thread hostile.
Unit tests were added to prove the changes work as expected.