This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bug in /usr/bin/strings
- To: CoreDump <bgp at dumballah dot tvnet dot hu>
- Subject: Re: bug in /usr/bin/strings
- From: Nick Clifton <nickc at redhat dot com>
- Date: 22 Feb 2001 11:47:59 -0800
- CC: binutils at sources dot redhat dot com
- References: <3A930B1C.C09E2996@pop.tvnet.hu> <p066i3dao9.fsf@elmo.cygnus.com><3A956755.FF592B64@pop.tvnet.hu>
Hi Laszlo,
> Yes, it was a WIN32 exe file, renamed to exx because it contained a
> virus.
Ahh!
> I think it is a common usage to run strings on binaries. It
> shouldn't abort or even issue a warning on any kind of binary file.
It should not abort yes, but if it does not understand the binary it
should say so, it should not just remain silent.
> I think H.J has not fixed the bug yet, since he thanked for the
> testcase and mailed me a quick patch to not abort but issue a
> warning.
Actually H.J.'s patch is a good fix. We are just currently debating
what ought to happen if an object file containing these unrecognised
flags is ever given as input to the linker.
Cheers
Nick