Skip to content

disasm/sync.c: fix lost realloc (use after free) - #304

Open
int-e wants to merge 1 commit into
netwide-assembler:masterfrom
int-e:sync-lost-realloc
Open

int-e wants to merge 1 commit into
netwide-assembler:masterfrom
int-e:sync-lost-realloc

Conversation

@int-e

@int-e int-e commented Aug 30, 2026

Copy link
Copy Markdown

The new length and the result of realloc() are stored in temporary variables, but never propagated to the global state.

The new length and the result of realloc() are stored in temporary variables,
but never propagated to the global state.
@int-e
int-e force-pushed the sync-lost-realloc branch from 58ba8a4 to ea3a42e Compare August 30, 2026 09:19
@int-e int-e changed the title idisasm/sync.c: fix lost realloc (use after free) disasm/sync.c: fix lost realloc (use after free) Aug 30, 2026
@int-e

int-e commented Aug 30, 2026

Copy link
Copy Markdown
Author

Incidentally, #286 fixes this same issue, but everything else about that PR looks wrong.

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