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

Unbounded strcat buffer overflow

highC/C++CWE-120CVSS 8.1

What it detects

strcat appends without checking remaining destination capacity.

How to fix

Use strncat or strlcat with the remaining buffer size accounted for.

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