FS#57681 - [vim-runtime] Current fix for CVE-2017-1000382 causes cursor to jump to bottom of screen

Attached to Project: Arch Linux
Opened by Ben Burrill (benburrill) - Thursday, 01 March 2018, 00:38 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 01 March 2018, 01:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In vimfiles/archlinux.vim, the line
silent !install -d -m 700 ~/.vim/swap/ 2>&1 > /dev/null
causes vim to improperly clean up after itself after exit in xterm (and every other terminal emulator I have tried). When vim exits, the cursor jumps to the bottom of the screen, leaving extraneous blank lines.

This also happens with silent !true, so the issue isn't related to the specific command used.

Additional info:
* package version: 8.0.1531-1

Steps to reproduce:
- Open a new instance of xterm (or one where the cursor has not yet reached the bottom of the screen)
- Run vim +q
- Observe the blank lines that fill the screen between the two shell prompts.

Steps to produce desired behavior:
- Open new instance of xterm
- Run vim --clean +q (or remove offending line from archlinux.vim)
- Observe no blank lines between the prompts
This task depends upon

Closed by  Levente Polyak (anthraxx)
Thursday, 01 March 2018, 01:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:  alreadty fixed since 8.0.1542-2
 FS#57650   FS#57640 

Loading...