Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): nvim_buf_get_text() segfault with large negative column #28740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vanaigr
Copy link
Contributor

@vanaigr vanaigr commented May 14, 2024

fix #28729

Clamp starting and ending columns in buf_get_text(), which is called by nvim_buf_get_text() and other functions.

@github-actions github-actions bot added the api libnvim, Nvim RPC API label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api libnvim, Nvim RPC API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nvim_buf_get_text() segfault with large negative column
1 participant