-
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
Changed global array of const char* so addresses can not be changed #5659
Changed global array of const char* so addresses can not be changed #5659
Conversation
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.
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. |
+1 |
…kHistory Changed global array of const char* so addresses can not be changed
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.