freebsd-ports/shells
Kai Knoblich 49d8789e48 MFH: r494837
shells/rssh: Apply fixes for basename(3) handling and some security issues

basename(3) has been changed to be POSIX compliant in r308264. This implies
that it can possibly write to the passed string. shells/rssh passes a const
string, so it always crashes on invocation with FreeBSD 12 and later. The
new patches remedy this issue. [1] [2]

During further tests and research came to light that there were also
recently discovered security issues with the parsing of rsync/scp command
line arguments and insufficient sanitization of environment variables when
using rysnc.

The corresponding fixes have been incorporated to the new patches and the
already existing patch for the RSYNC option has been tightened for the
argument parsing. Please note that with this patch the scp option "-3" can
no longer be used. [3]

Furthermore, another patch was applied to make this port a bit more secure.
That patch handles a buffer allocation issue for an error message. [4]

PR:		235121
Submitted by:	topical@gmx.net (first version) [1], Jason Harris (maintainer) [2]
Approved by:	tcberner (mentor)
Obtained from:	Debian [3] [4]
Security:	d193aa9f-3f8c-11e9-9a24-6805ca0b38e8
Differential Revision:	https://reviews.freebsd.org/D19474

Approved by:	ports-secteam (riggs), mentors implicit
2019-03-07 14:59:36 +00:00
..
44bsd-csh
bash
bash-completion
bash-static
bashc
bicon
ch
dash
envy
es
esh
fd Update to 3.01h 2018-12-25 07:12:34 +00:00
fish shells/fish: upgrade to 3.0.0 2018-12-31 21:38:49 +00:00
flash
heirloom-sh
hs-shelly
ibsh
jailkit
klish
ksh93
ksh93-devel Update to the latest ast/ksh93 github commit. 2018-12-23 05:45:01 +00:00
lshell
mksh
nologinmsg
oksh
osh
p5-Bash-Completion
p5-Shell-Perl
p5-Term-Bash-Completion-Generator
p5-Term-ShellUI
pdksh
pear-PHP_Shell
psh
rc
rssh MFH: r494837 2019-03-07 14:59:36 +00:00
sash
scponly
shell-include
sparforte
tcsh_nls
tcshrc
v7sh
viewglob
vshnu
wcd
xonsh
zsh
zsh-antigen
zsh-navigation-tools
Makefile