To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79172
Issue #|79172
Summary|double free to tools/bootstrp/command.cxx
Component|tools
Version|OOo 2.2.1
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|mh
Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Tue Jul 3 15:47:25 +0000
2007 -------
in tools/bootstrp/command.cxx we have inside BuildCommand
for (int i = 0; ppArgv[i] != 0; i++) {
delete [] ppArgv[i];
}
delete [] ppArgv;
but in CommandLine::operator= we have
delete [] ppArgv
BuildCommand
leading to a double free
patch attached to avoid the problem, could also be reworked, but I took a
conservative approach and followed the existing model used in that file
---------------------------------------------------------------------
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]