Skip to content

Fix V645 warning from PVS-Studio Static Analyzer#2

Open
buslov wants to merge 1 commit intof3270:masterfrom
buslov:V645_fix
Open

Fix V645 warning from PVS-Studio Static Analyzer#2
buslov wants to merge 1 commit intof3270:masterfrom
buslov:V645_fix

Conversation

@buslov
Copy link
Copy Markdown

@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:
V645 The 'strncat' function call could lead to the 'metadata' buffer overflow.
The bounds should not contain the size of the buffer, but a number of
characters it can hold.

The 'strncat' function call could lead to the 'metadata' buffer overflow.
The bounds should not contain the size of the buffer, but a number of
characters it can hold.
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