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

Changed global array of const char* so addresses can not be changed #5659

Conversation

Dr15Jones
Copy link
Contributor

Changed arrays from 'const char* []' to 'const char* const []'. This
way the pointers in the array can not be changed to point to a new
non-mutable character array.
This fixes a thread safety complaint from the static analyzer.

Changed arrays from 'const char* []' to 'const char* const []'. This
way the pointers in the array can not be changed to point to a new
non-mutable character array.
This fixes a thread safety complaint from the static analyzer.
@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2014

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

Changed global array of const char* so addresses can not be changed

It involves the following packages:

SimTracker/TrackHistory

@cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks.
@makortel, @GiacomoSguazzoni, @rovere, @VinInn, @cerati, @threus, @venturia this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2014

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2014

@civanch
Copy link
Contributor

civanch commented Oct 3, 2014

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 3, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

davidlange6 added a commit that referenced this pull request Oct 5, 2014
…kHistory

Changed global array of const char* so addresses can not be changed
@davidlange6 davidlange6 merged commit 6a81597 into cms-sw:CMSSW_7_3_X Oct 5, 2014
@Dr15Jones Dr15Jones deleted the makeStaticConstSimTrackerTrackHistory branch October 28, 2014 23:58
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.

4 participants