FIX: MASM 6.0 Does Not Detect Overflow Initializing Structures (73752)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
This article was previously published under Q73752 SYMPTOMS
In certain situations, the Microsoft Macro Assembler (MASM) version 6.0
will not detect an overflow condition when initializing structure elements.
This will most likely occur when the MASM 5.1 compatibility option is used
(that is, /Zm on the command line, OPTION M510 in the source code, or when
using the MASM driver) and the initialized type is of word size. In cases
where the error is not generated but should be, the specified
initialization value, modulo the maximum size for the type, is used as the
value of the variable.
STATUS
Microsoft has confirmed this to be a problem in MASM version 6.0. This
problem was corrected in MASM version 6.0a.
Modification Type: | Minor | Last Reviewed: | 11/21/2003 |
---|
Keywords: | kbfix KB73752 |
---|
|