Commit 761ea77
patch 9.1.1609: complete: Heap-buffer overflow with complete function
Problem: complete: Heap-buffer overflow with complete function
(zeertzjq)
Solution: Do not let startcol become negative (Girish Palya).
fixes: #17907
closes: #17934
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>1 parent b89ff6c commit 761ea77
3 files changed
Lines changed: 34 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
| |||
5368 | 5367 | | |
5369 | 5368 | | |
5370 | 5369 | | |
| 5370 | + | |
| 5371 | + | |
5371 | 5372 | | |
5372 | 5373 | | |
5373 | 5374 | | |
5374 | | - | |
| 5375 | + | |
5375 | 5376 | | |
5376 | 5377 | | |
5377 | 5378 | | |
| |||
7495 | 7496 | | |
7496 | 7497 | | |
7497 | 7498 | | |
| 7499 | + | |
| 7500 | + | |
7498 | 7501 | | |
7499 | 7502 | | |
7500 | 7503 | | |
7501 | 7504 | | |
7502 | 7505 | | |
7503 | 7506 | | |
7504 | 7507 | | |
7505 | | - | |
7506 | | - | |
7507 | | - | |
7508 | 7508 | | |
7509 | 7509 | | |
7510 | 7510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5383 | 5383 | | |
5384 | 5384 | | |
5385 | 5385 | | |
| 5386 | + | |
| 5387 | + | |
| 5388 | + | |
| 5389 | + | |
| 5390 | + | |
| 5391 | + | |
| 5392 | + | |
| 5393 | + | |
| 5394 | + | |
| 5395 | + | |
| 5396 | + | |
| 5397 | + | |
| 5398 | + | |
| 5399 | + | |
| 5400 | + | |
| 5401 | + | |
| 5402 | + | |
| 5403 | + | |
| 5404 | + | |
| 5405 | + | |
| 5406 | + | |
| 5407 | + | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
5386 | 5413 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
722 | 724 | | |
723 | 725 | | |
724 | 726 | | |
| |||
0 commit comments