Bug#766163: [Bash-completion-devel] Bug#766163: bash-completion: _tilde calls compgen w/o -- argument protection

2014-11-01 Thread Ville Skyttä
This and a bunch of other similar ones are now fixed upstream: http://anonscm.debian.org/cgit/bash-completion/bash-completion.git/commit/?id=882649b -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Bug#766163: bash-completion: _tilde calls compgen w/o -- argument protection

2014-10-21 Thread Nikolaus Schulz
Package: bash-completion Version: 1:2.1-4 Severity: minor Hi, when tilde-expanding in function _tilde(), the following line COMPREPLY=( $( compgen -P '~' -u ${1#\~} ) ) does not protect $1 by preceding it with --, which means that if $1 starts with ~- (the $OLDPWD tilde-prefix), compgen will