Skip to content

Conversation

@539hex
Copy link
Owner

@539hex 539hex commented Feb 10, 2026

Security Fix

Vulnerability: CWE-787: Out-of-bounds Write
Severity: HIGH
File: src/utils.c
Confidence: 50%

Description

The loop writes to str[length], which is one past the buffer's end when length > 0. This causes an out-of-bounds write vulnerability.

Changes

This PR replaces the vulnerable code with a secure implementation.


Automated by deft.is code scanning

Automated security fix by deft.is
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant