alloc-strlen
alloc-strlen
strlen(...) returns the number of characters in a string, excluding the NUL terminator. If a string is later copied into this allocated buffer, it will trigger memory corruption.Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-131: Incorrect Calculation of Buffer Size