-
Notifications
You must be signed in to change notification settings - Fork 564
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
Uninitialized variables in TTCCLayout #148
Labels
Comments
wilx
added a commit
to wilx/log4cplus
that referenced
this issue
Mar 2, 2016
TTCCLayotu boolean members could be left uninitialized. Initialize them.
wilx
added a commit
to wilx/log4cplus
that referenced
this issue
Mar 2, 2016
TTCCLayotu boolean members could be left uninitialized. Initialize them.
wilx
added a commit
to wilx/log4cplus
that referenced
this issue
Mar 2, 2016
TTCCLayotu boolean members could be left uninitialized. Initialize them.
Thank you for the report. This is now fixed on 1.2.x by merge #149. |
ljx0305
added a commit
to ljx0305/log4cplus
that referenced
this issue
Mar 8, 2016
Fix bug log4cplus#148 and bug log4cplus#149
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
There is a difference in TTCCLayout definitions between 1.2.x and master branches:
https://github.com/log4cplus/log4cplus/blob/1.2.x/include/log4cplus/layout.h#L187-L190
https://github.com/log4cplus/log4cplus/blob/master/include/log4cplus/layout.h#L188-L191
As the result in 1.2.x when TTCCLayout is initialized by that ctor:
these 4 bools may remain uninitialized in release mode
Upd: VS 2015(update 1), x86, Release.
The text was updated successfully, but these errors were encountered: