CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard

Snprintf source size

snprintf-source-size

The size parameter to snprintf is derived from the source data, not the destination buffer. This may trigger a buffer overflow and memory corruption if $SRC is larger than $DEST.
Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-787: Out-of-bounds Write

Assistant
Responses are generated using AI and may contain mistakes.
twitterlinkedin
Powered by Mintlify
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database

    Snprintf source size

    snprintf-source-size

    The size parameter to snprintf is derived from the source data, not the destination buffer. This may trigger a buffer overflow and memory corruption if $SRC is larger than $DEST.
    Likelihood: LOW
    Confidence: MEDIUM
    CWE:
    - CWE-787: Out-of-bounds Write

    Assistant
    Responses are generated using AI and may contain mistakes.
    twitterlinkedin
    Powered by Mintlify