Bug#361332: uncc: dasm --version overwrites file named "2" in current directory
On Sat, Apr 08, 2006 at 01:00:19AM +0300, Timo Lindfors wrote:
> Package: uncc
> Version: 0.1.2+20030821-2
> Severity: normal
>
> Steps to reproduce:
> 1) dasm --version
>
> Expected results:
> 1) dasm should print its version number
>
> Actual results:
> 1) dasm prints
>
> "Creating disassembled file ...
>
> Reading strings ..."
>
> and does not terminate. After I killed it I noticed that it had
> overwritten the file named "2" in the current directory with the text
>
> "GNU objdump 2.15
> Copyright 2004 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License. This program has absolutely no warranty."
Yup, it doesn't cope well :)
Usage: dasm exe_file dasm_file
but that is undocumented, as it doesn't support --help either, and
doesn't have a manpage. It seems like this should perhaps be moved to
/usr/lib/uncc/, unless it is meant to be an exposed interface.
Reply to: