To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107182
                 Issue #|107182
                 Summary|ure: powerpc: fix argument passing in a rare case
               Component|udk
                 Version|680
                Platform|PowerPC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|bigeasy





------- Additional comments from [email protected] Tue Nov 24 18:12:58 
+0000 2009 -------
lets assume the following call:
 
void func(void *this, long long l1, long long l2, int i1, long long l3,
                 int i2)
 
which should be translated to
  r3 this
  r4 <pad>
  r5 upper l1
  r6 lower l1
  r7 upper l2
  r8 lower l2
  r9 i1
  r10 <pad>
  stack +8 upper l3
  stack +12 lower l3
  stack +16 i2
 
ng is compared less than 7. If ng is 7 than the parameter is saved on
the stack. This is correct. The following integer value will be saved in
r10 because ng is still 7 and this is less than 8. This is wrong because
this argument should be saved on stack.
 
The code is different but the bug is the same as in mozilla's #520367
 
https://bugzilla.mozilla.org/show_bug.cgi?id=520367

The bug was found in version 2.4.1 as shipped in Debian Lenny.  The patch is
against git://anongit.freedesktop.org/ooo-build/ure

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to