Skip to content

fix: passing complete buf size argument to _jsonb_escape#2

Draft
anibalportero wants to merge 1 commit intomasterfrom
fix_jsonb_espace_leak
Draft

fix: passing complete buf size argument to _jsonb_escape#2
anibalportero wants to merge 1 commit intomasterfrom
fix_jsonb_espace_leak

Conversation

@anibalportero
Copy link

Complete buf size is passed to _jsonb_escape even if buf is passed on b->pos. This might result in a memory leak as _jsonb_escape might write beyond buf limits

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