Commit 191d778
committed
patch 9.1.1680: MS-Windows: possible buffer-under run in if_cscope
Problem: MS-Windows: possible buffer-under run in if_cscope
cs_pathcomponents() (Murali Aniruddhan)
Solution: Fix the loop and do not decrement the pointer twice.
closes: vim#18091
Signed-off-by: Christian Brabandt <[email protected]>1 parent ba9551d commit 191d778
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | | - | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
1944 | 1948 | | |
1945 | | - | |
| 1949 | + | |
1946 | 1950 | | |
1947 | 1951 | | |
1948 | | - | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
1949 | 1955 | | |
1950 | 1956 | | |
1951 | 1957 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| 727 | + | |
| 728 | + | |
727 | 729 | | |
728 | 730 | | |
729 | 731 | | |
| |||
0 commit comments