snprintf-return-value-snprintf
snprintf-return-value-snprintf
The return value of
Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-787: Out-of-bounds Write
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