Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch 8.2.5148: invalid memory access when using expression on comman…
…d line Problem: Invalid memory access when using an expression on the command line. Solution: Make sure the position does not go negative.
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit 6046ade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get the same problem, but only on Tiny (like here) and Small builds, as mentioned a few minutes ago on the vim-dev group. Normal, Big and Huge build normally for me.
Best regards,
Tony.
When I build this change with:
./configure --with-features=tiny --enable-perlinterp=no --enable-pythoninterp=no --enable-python3interp=no --enable-rubyinterp=no --enable-luainterp=no --with-vim-name=vim-minimal --enable-gui=no
make
it fails with:
ex_getln.c:1209:35: error: ‘new_cmdpos’ undeclared (first use in this function); did you mean ‘set_cmdspos’?
1209 | int save_new_cmdpos = new_cmdpos;