Package: fakechroot
Version: 2.18-1.1
Severity: minor
Tags: patch
Dear Maintainer,
It may be useful to distinguish different paths with
the same beginning (e.g. mychroot and mychroot2 :
$Base=mychroot matches mychroot2 too, which is not
intended). One may check that a path separator '/' is
present after $BASE in the path (e.g. mychroot/ does
not match mychroot2/, and this is the correct behaviour).
Regards,
JH Chatenet
--- a/scripts/ldd.fakechroot.pl
+++ b/scripts/ldd.fakechroot.pl
@@ -57,7 +57,7 @@
push @Libs, $lib;
if (-f $path) {
- $path =~ s/^\Q$Base\E// if $Base;
+ $path =~ s/^\Q$Base\/\E/\// if $Base;
$Libs{$lib} = $path;
objdump($path);
}
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages fakechroot depends on:
ii libfakechroot 2.18-1.1
fakechroot recommends no packages.
fakechroot suggests no packages.
-- no debconf information