Skip to content
Snippets Groups Projects
Commit 243f9ebd authored by Ilya Verbin's avatar Ilya Verbin Committed by Vladimir Davydov
Browse files

Use size-bounded versions of sprintf, strcpy and strcat

To avoid potential buffer overflows and to make static analyzers happy.

Fixed CWE-120:
- sprintf: does not check for buffer overflows
- strcpy: does not check for buffer overflows when copying to destination
- strcat: does not check for buffer overflows when concatenating to
  destination

Closes #7534

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring
parent dcd9be4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment