Skip to main content
The return value of snprintf is the number of characters that would be written, excluding the NUL terminator. The return value must be validated before using it as a buffer index or buffer length in this following snprintf call.
Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-787: Out-of-bounds Write