-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
TestLibrary: added tests showing failure to detect iterator #6595
Conversation
The problem is that we bail out when there is no link. But containers like |
I did not file a ticket because I have no example on how to trigger this. I came across this looking at the code while trying to get in an optimization which I had lying around for a while now. |
Please also have a look if we actually have full coverage for that function now. I might have missed a case. |
The tests pass on Clang but fail on GCC. This is caused by an uninitialized variable. |
|
I filed https://trac.cppcheck.net/ticket/12931 about detecting it ourselves. Still need to look into why Clang apparently initializes the variable with 0. |
I filed https://trac.cppcheck.net/ticket/13452 about the actual issue. |
No description provided.