http://llvm.org/bugs/show_bug.cgi?id=4247

           Summary: [clang] An array overgflow occurs for 128 bit floats
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


In the function DefineFloatMacros, there is a 60 byte array (MacroBuf) used to
build up macro definitions. When floats are IEEE long double, the string placed
in the array is exactly 60 characters not including the trailing nul:
__LDBL_DENORM_MIN__=4.94065645841246544176568792868221e-324L

This can cause all sorts of strange behavior.

InitPreprocessor.cpp


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to