[Nasm-bugs] [Bug 3392529] New: 'nasm foo' creates file 'foo' (regression compared to 2.13.03)

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Tue Nov 13 15:49:29 PST 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392529

            Bug ID: 3392529
           Summary: 'nasm foo' creates file 'foo' (regression compared to
                    2.13.03)
           Product: NASM
           Version: 2.14 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: slyfox at inbox.ru
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Built from git using configure

The bug was noticed in jpeg-turbo cmake configuration:
    https://bugs.gentoo.org/670944 

There 'nasm /?' is ran to see if it responds with a version. It does not.
Moreover it attmpts to write to '/?' file. That causes sandbox voilation in
Gentoo.

I think it's a surprisin behaviour as there is no input specified. It's a
change from nasm-2.13.03 behaviour.

nasm-2.13.03:
    $ nasm foo
    nasm: warning: file name already has no extension: output will be in
`nasm.out'
    nasm: fatal: unable to open input file `foo'
    <no 'foo' file>

nasm-master:
   $ ./nasm foo
   <'foo' created>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list