Skip to content

crash with invalid positional argument 0 in printf()#18898

Closed
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:adjust-types-hbof
Closed

crash with invalid positional argument 0 in printf()#18898
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:adjust-types-hbof

Conversation

@chrisbra
Copy link
Member

@chrisbra chrisbra commented Dec 9, 2025

Problem: Crash when using 0$ as a positional argument in printf().
Solution: Reject positional arguments <= 0.

Problem:  Crash when using 0$ as a positional argument in printf().
Solution: Reject positional arguments <= 0.

Signed-off-by: Christian Brabandt <cb@256bit.org>
@chrisbra chrisbra closed this in 98a0cbf Dec 11, 2025
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Dec 11, 2025
…ment 0 in printf()

Problem:  crash with invalid positional argument 0 in printf()
Solution: Reject positional arguments <= 0.

closes: vim/vim#18898

vim/vim@98a0cbf

Co-authored-by: Christian Brabandt <cb@256bit.org>
zeertzjq added a commit to neovim/neovim that referenced this pull request Dec 12, 2025
…ment 0 in printf() (#36919)

Problem:  crash with invalid positional argument 0 in printf()
Solution: Reject positional arguments <= 0.

closes: vim/vim#18898

vim/vim@98a0cbf

Co-authored-by: Christian Brabandt <cb@256bit.org>
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Dec 12, 2025
…ment 0 in printf() (neovim#36919)

Problem:  crash with invalid positional argument 0 in printf()
Solution: Reject positional arguments <= 0.

closes: vim/vim#18898

vim/vim@98a0cbf

Co-authored-by: Christian Brabandt <cb@256bit.org>
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