To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=65004
------- Additional comments from [EMAIL PROTECTED] Tue May 2 12:20:06 -0700 2006 ------- tra->pj: Checking the return value of sysconf makes no difference in that case. The return value of sysconf ('-1') converted to an unsigned integer results in the biggest possible size_t value so you will run into the 'else' case which sets n to SIZE_MAX. malloc(SIZE_MAX) fails and returns NULL which will be check in the calling function and results in NULL being returned by that function. 'newSecurityImpl' is an internal helper function and I would probably implement it the same way. --------------------------------------------------------------------- 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]