To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=92217 Issue #|92217 Summary|sal/rtl/source/alloc_global.c is not 64bit clean Component|porting Version|OOo 2.4.1 Platform|Opteron/x86_64 URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mhu Reported by|mhu
------- Additional comments from [EMAIL PROTECTED] Mon Jul 28 13:24:08 +0000 2008 ------- rtl_allocateMemory() and rtl_freeMemory() accept one argument: "sal_Size n". On 64bit platforms, sal_Size is unsigned long int. "n" is later memory aligned as "sal_Size size" and "index" is then calculated as: int index = (size - 1) >> RTL_MEMALIGN_SHIFT; However, as sizeof(int) == 4 and sizeof(sal_Size) == 8, the value may not fit into index. --------------------------------------------------------------------- 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]