Bug 452800 - Buffer overflows, EQU miscompile in NASM < 2.03.01
Buffer overflows, EQU miscompile in NASM < 2.03.01
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: nasm (Show other bugs)
9
All Linux
medium Severity low
: ---
: ---
Assigned To: Petr Machata
Fedora Extras Quality Assurance
:
Depends On:
Blocks: CVE-2008-7177
  Show dependency treegraph
 
Reported: 2008-06-25 02:19 EDT by H. Peter Anvin
Modified: 2015-05-04 21:34 EDT (History)
1 user (show)

See Also:
Fixed In Version: 2.03.01-1.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-26 04:30:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description H. Peter Anvin 2008-06-25 02:19:10 EDT
Description of problem:

There are several (low impact, but still) buffer overflows in NASM releases
prior to 2.03.01.

Additionally, in NASM prior to 2.03, some code that use the EQU instruction
would silently produce incorrect code.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:

- Create a piece of code which contains an EQU with a forward reference.
- Then *reference* the EQU before the forward reference is resolved.
- NASM will emit an *absolute* reference, which will produce incorrect code if
linked at a non-zero offset.
Comment 1 Petr Machata 2008-06-25 06:35:44 EDT
I have pushed 2.03.01 a minute ago.
Comment 2 Fedora Update System 2008-06-26 04:30:52 EDT
nasm-2.03.01-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.