Skip to content

fix: size C++ reference callback buffers - #47

Open
mcollina wants to merge 1 commit into
ShogunPanda:mainfrom
mcollina:security/sec-23-cpp-reference-buffers
Open

mcollina wants to merge 1 commit into
ShogunPanda:mainfrom
mcollina:security/sec-23-cpp-reference-buffers

Conversation

@mcollina

@mcollina mcollina commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Allocate C++ reference callback strings from the actual payload size instead of copying into fixed 1000-byte buffers. The helper now reserves a terminator, checks size overflow and allocation failure, and releases temporary payload copies.

This fixes SEC-23 from #38.

This branch has not been deployed

No deployments
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