> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Alloc strlen

<AccordionGroup>
  <Accordion title="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.<br />**Likelihood**: LOW<br />**Confidence**: MEDIUM<br />**CWE**: <br />- CWE-131: Incorrect Calculation of Buffer Size
  </Accordion>
</AccordionGroup>
