Bug 452800

Summary: Buffer overflows, EQU miscompile in NASM < 2.03.01
Product: [Fedora] Fedora Reporter: H. Peter Anvin <hpa>
Component: nasmAssignee: Petr Machata <pmachata>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 9CC: mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.03.01-1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-26 08:30:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 522586    

Description H. Peter Anvin 2008-06-25 06:19:10 UTC
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:

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 10:35:44 UTC
I have pushed 2.03.01 a minute ago.

Comment 2 Fedora Update System 2008-06-26 08:30:52 UTC
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.