Skip to content

Fix V575 warning from PVS-Studio Static Analyzer#1

Open
buslov wants to merge 1 commit intomazefeng:masterfrom
buslov:V575_fix
Open

Fix V575 warning from PVS-Studio Static Analyzer#1
buslov wants to merge 1 commit intomazefeng:masterfrom
buslov:V575_fix

Conversation

@buslov
Copy link
Copy Markdown
Contributor

@buslov buslov commented Nov 16, 2017

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

Warning:
The 'memcpy' function doesn't copy the whole string.
Use 'strcpy / strcpy_s' function to preserve terminal null.

The 'memcpy' function doesn't copy the whole string.
Use 'strcpy / strcpy_s' function to preserve terminal null.
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.

1 participant