bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/30308] New: as crash (infinite recursion) on invalid source fil


From: andrius-sourceware at stikonas dot eu
Subject: [Bug gas/30308] New: as crash (infinite recursion) on invalid source file
Date: Mon, 03 Apr 2023 21:55:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30308

            Bug ID: 30308
           Summary: as crash (infinite recursion) on invalid source file
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: andrius-sourceware at stikonas dot eu
  Target Milestone: ---

Created attachment 14800
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14800&action=edit
cc_x86.S

I was able to crash gas with the following input that causes infinite recursion

.intel_syntax
a = a
mov eax, [a]

You can build it with as "as cc_x86.S" or "as --32 cc_x86.S"

Result:
$ as cc_x86.S
Segmentation fault (core dumped)

Expected result:
At the very least no, crash. Ideally a useful error message (maybe something
like a is not defined).

GAS version: GNU assembler (Gentoo 2.39 p5) 2.39.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]