Commit a66fce6
vim-patch:98a0cbf: patch 9.1.1971: crash with invalid positional argument 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>1 parent cfb586a commit a66fce6
File tree
5 files changed
+25
-18
lines changed- runtime
- doc
- lua/vim/_meta
- src/nvim
- test/old/testdir
5 files changed
+25
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7419 | 7419 | | |
7420 | 7420 | | |
7421 | 7421 | | |
7422 | | - | |
| 7422 | + | |
7423 | 7423 | | |
7424 | 7424 | | |
7425 | 7425 | | |
7426 | | - | |
| 7426 | + | |
7427 | 7427 | | |
7428 | 7428 | | |
7429 | 7429 | | |
7430 | 7430 | | |
7431 | 7431 | | |
7432 | 7432 | | |
7433 | | - | |
| 7433 | + | |
7434 | 7434 | | |
7435 | | - | |
| 7435 | + | |
7436 | 7436 | | |
7437 | 7437 | | |
7438 | | - | |
7439 | | - | |
| 7438 | + | |
| 7439 | + | |
7440 | 7440 | | |
7441 | 7441 | | |
7442 | 7442 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8191 | 8191 | | |
8192 | 8192 | | |
8193 | 8193 | | |
8194 | | - | |
| 8194 | + | |
8195 | 8195 | | |
8196 | 8196 | | |
8197 | 8197 | | |
8198 | | - | |
| 8198 | + | |
8199 | 8199 | | |
8200 | 8200 | | |
8201 | 8201 | | |
8202 | 8202 | | |
8203 | 8203 | | |
8204 | 8204 | | |
8205 | | - | |
| 8205 | + | |
8206 | 8206 | | |
8207 | | - | |
| 8207 | + | |
8208 | 8208 | | |
8209 | 8209 | | |
8210 | | - | |
8211 | | - | |
| 8210 | + | |
| 8211 | + | |
8212 | 8212 | | |
8213 | 8213 | | |
8214 | 8214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
971 | 976 | | |
972 | 977 | | |
973 | 978 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
| |||
0 commit comments