Red Hat Bugzilla – Bug 452800
Buffer overflows, EQU miscompile in NASM < 2.03.01
Last modified: 2015-05-04 21:34:05 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):
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.
I have pushed 2.03.01 a minute ago.
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.