Skip to content

fix(api): buffer overflow in nvim_buf_get_extmarks overlap#37196

Merged
github-actions[bot] merged 1 commit intorelease-0.11from
backport-37184-to-release-0.11
Jan 2, 2026
Merged

fix(api): buffer overflow in nvim_buf_get_extmarks overlap#37196
github-actions[bot] merged 1 commit intorelease-0.11from
backport-37184-to-release-0.11

Conversation

@neovim-backports
Copy link

Description

Backport of #37184 to release-0.11.

With `overlap=true`, more extmarks than the requested limit may be
collected in `extmark_get`. This then leads to an out of bounds write of
`rv` in `nvim_buf_get_extmarks`.

(cherry picked from commit 612cd99)
@github-actions github-actions bot enabled auto-merge (rebase) January 2, 2026 07:18
@github-actions github-actions bot added api libnvim, Nvim RPC API target:release labels Jan 2, 2026
@github-actions github-actions bot merged commit c124594 into release-0.11 Jan 2, 2026
31 checks passed
@github-actions github-actions bot deleted the backport-37184-to-release-0.11 branch January 2, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api libnvim, Nvim RPC API target:release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant