https://bz.apache.org/ooo/show_bug.cgi?id=127896

          Issue ID: 127896
        Issue Type: DEFECT
           Summary: Possible access to unintended macro in
                    "openoffice/main/bridges/source/cpp_uno/gcc3_linux_x86
                    -64/abi.cxx" line 256
           Product: General
           Version: 4.2.0-dev
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

While experimenting with a CodeSonar plugin we develop, we noticed a
potential issue in file
"openoffice/main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx" line 256
function classify_argument:

 /*  X86_64_X87UP_CLASS should be preceded by X86_64_X87_CLASS.  */
if ( classes[i] == X86_64_X87UP_CLASS
     && ( i == 0 || classes[i - 1] != X86_64_X87_CLASS ) )
  classes[i] = X86_64_SSE_CLASS; //HERE

Shouldn't X86_64_X87_CLASS be used instead of X86_64_SSE_CLASS?

Thanks,
Petru-Florin Mihancea

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to