[Nasm-bugs] [Bug 3392630] New: git nasm: infinite loop with input %define A \ %define B PREFIX%[A] \ %xdefine C B

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Oct 28 14:17:05 PDT 2019


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

            Bug ID: 3392630
           Summary: git nasm: infinite loop with input %define A \ %define
                    B PREFIX%[A] \ %xdefine C B
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: critical
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: pushbx at ulukai.org
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Built from git using configure

$ cat test.asm
%define MNSUFFIX
%define MNCURRENT TEST%[MNSUFFIX]
%xdefine var MNCURRENT
$ nasm -v
NASM version 2.15rc0 compiled on Oct 24 2019
$ nasm test.asm
^C
$ oldnasm -v
NASM version 2.14.03rc2 compiled on Aug 31 2019
$ oldnasm test.asm
$ 


This error made building lDebug fail after such a construct was introduced in
https://hg.ulukai.org/ecm/ldebug/rev/19c0453a82e8#l1.22

NASM here is
https://repo.or.cz/nasm.git/commitdiff/e91f5cc1322eed4da0de81656276e021bf352c3d

-- 
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