Bug#413095: libc6: Typo in ldd script: refers to file_magic_regex but filename_magix_regex was set
Package: libc6
Version: 2.3.6.ds1-11
Severity: normal
In /usr/bin/ldd there is a variable, filename_magic_regex, which is
set before argument parsing and passed to egrep when checking the name
of a non-executable file. Later, when checking the output of file -L,
a variable file_magic_regex is referenced: however, this variable is
nowhere set. It would appear, from context, that it *isn't* a typo
for filename_magic_regex. However, it should probably also be set,
somewhere ! Alternatively, the test based on file -L | sed 10q needs
to be revised in some way: at present, it fatuously always passes,
since egrep '' matches everything.
No patch, as I'm unable to guess what regex was intended.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages libc6 depends on:
ii tzdata 2006p-1 Time Zone and Daylight Saving Time
libc6 recommends no packages.
-- no debconf information
Reply to: