Package: ruby2.3 Version: 2.3.3-1 Severity: normal File: /usr/bin/ruby2.3 Usertags: home
The Ruby interpreter has bogus home directory handling. The HOME environment variable does not have to be present, programs must fall back to the value in the passwd file. pabs@chianamo ~ $ unset HOME pabs@chianamo /home/pabs $ ruby -e 'print Dir.home' -e:1:in `home': couldn't find HOME environment -- expanding `~' (ArgumentError) from -e:1:in `<main>' pabs@chianamo /home/pabs $ ruby -e 'print File.expand_path("~")' -e:1:in `expand_path': couldn't find HOME environment -- expanding `~' (ArgumentError) from -e:1:in `<main>' pabs@chianamo /home/pabs $ ruby -e 'require "etc" ; print Etc.getpwuid.dir ; print "\n"' /home/pabs -- System Information: Debian Release: 9.0 APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ruby2.3 depends on: ii libc6 2.24-9 ii libgmp10 2:6.1.2+dfsg-1 ii libruby2.3 2.3.3-1 ii rubygems-integration 1.11 Versions of packages ruby2.3 recommends: ii fonts-lato 2.0-1 ii libjs-jquery 3.1.1-2 ruby2.3 suggests no packages. -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part