bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/30279] UBSAN error: /buildworker/marxinbox-cross-binutils-sanit


From: pinskia at gcc dot gnu.org
Subject: [Bug gas/30279] UBSAN error: /buildworker/marxinbox-cross-binutils-sanitizers/build/gas/config/tc-m68hc11.c:708:20
Date: Tue, 28 Mar 2023 05:32:23 +0000

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|MOVED                       |---
                 CC|                            |pinskia at gcc dot gnu.org
     Ever confirmed|1                           |0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code in gas/config/tc-m68hc11.c is undefined:
  opc = XNEWVEC (struct m68hc11_opcode_def, num_opcodes);
  m68hc11_opcode_defs = opc--;


This is not defined at all. You cannot take the address before the start of the
allocated area.

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