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

fixed from PVS-Studio #3

Merged
merged 1 commit into from
Oct 30, 2017
Merged

fixed from PVS-Studio #3

merged 1 commit into from
Oct 30, 2017

Conversation

ip-gpu
Copy link
Contributor

@ip-gpu ip-gpu commented Oct 30, 2017

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warnings:

V575 The number of processed elements should be passed to the 'GetWindowTextW' function as the third argument instead of buffer's size in bytes. dockingdlginterface.h 44
V773 Visibility scope of the 'nPtr' pointer was exited without releasing the memory. A memory leak is possible. globals.cpp 100

V575 The number of processed elements should be passed to the 'GetWindowTextW' function as the third argument instead of buffer's size in bytes. dockingdlginterface.h 44
V773 Visibility scope of the 'nPtr' pointer was exited without releasing the memory. A memory leak is possible. globals.cpp 100
@mpcabd
Copy link
Owner

mpcabd commented Oct 30, 2017

Thanks @ip-gpu, I will merge this, that's a good initiative!

@mpcabd mpcabd closed this Oct 30, 2017
@mpcabd mpcabd reopened this Oct 30, 2017
@mpcabd mpcabd merged commit 03e58c2 into mpcabd:master Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants