Apache OpenOffice (AOO) Bugzilla – Issue 7453
OOO_STABLE_1_PORTS/X11: vcl print code incorrectly deallocates driver data
Last modified: 2004-03-25 07:39:18 UTC
Patch should explain it all. The data is rtl_freeMemory()d and in creation the member variable is always new'ed, so it should be delete'd instead. This caused a repeatable SEGFAULT on MacOS X printing. Dan
Created attachment 2689 [details] cd to SRC_ROOT/vcl, patch -p0 < /path/to/patchfile, rebuild vcl
Requesting approval for the 083102 patch. Dan
Approved by Sander... Ed, commit to OOO_STABLE_1_PORTS? --------------------------------------- Date: Tue, 3 Sep 2002 14:18:46 +0100 (BST) From: Sander Vesik <Sander.Vesik@Sun.COM> Reply-To: dev@porting.openoffice.org To: dev@porting.openoffice.org Subject: Re: [porting-dev] Approval request for 7453 On Mon, 2 Sep 2002, Dan Williams wrote: > Approval request for issue 7453. > > http://www.openoffice.org/issues/show_bug.cgi? id=7453 > > free() versus delete problem. approved > Dan
Committed to PORTS. Added keyword merge_pending
Hi Dan, I think this should be an array delete and not a non-array delete (at least on OOo 1.0.3 it is an array delete). Kevin
Kevin, Correct, it should be. This issue (and the patch) were superceded by Issue 8012, which includes the correct delete[] code. http://www.openoffice.org/project/www/issues/show_bug.cgi?id=8012 I'm going to mark this issue as Resolved Fixed. Dan
Superceded by Issue 8012. *** This issue has been marked as a duplicate of 8012 ***
close issue.