return-c-str
return-c-str
$FUNC returns a pointer to the memory owned by $STR. This pointer is invalid after $STR goes out of scope, which can trigger a use after free.Likelihood: LOW
Confidence: HIGH
CWE:
- CWE-416: Use After Free
return-c-str
$FUNC returns a pointer to the memory owned by $STR. This pointer is invalid after $STR goes out of scope, which can trigger a use after free.