All rules →
Rules / C/C++
SHIELD-CPP-001

Unbounded strcpy buffer overflow

highC/C++CWE-120CVSS 8.1

What it detects

strcpy copies without a length limit and can overflow the destination buffer.

How to fix

Use strncpy or strlcpy with an explicit bounded size and ensure null termination.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CPP-001: Unbounded strcpy buffer overflow — Zennoxa Shield