Closed
Bug 495797
Opened 16 years ago
Closed 14 years ago
fix invalid delete in mozilla/gfx/src/beos/nsRenderingContextBeOS.cpp
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: sbrabec, Unassigned)
References
()
Details
(Whiteboard: [might want to land on 1.8 branch if anyone needs it])
Attachments
(1 file)
376 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1b4) Gecko/20090426 SUSE/3.5b4-2.1 Firefox/3.5b4
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1b4) Gecko/20090426 SUSE/3.5b4-2.1 Firefox/3.5b4
David Binderman found an apparent bug in the mozilla/gfx/src/beos/nsRenderingContextBeOS.cpp of Firefox 2:
just checked some of the source code in the Suse Linux factory package
kompozer-0.7.10-1.28 and I noticed the following
$ egrep "new|delete"
../BUILD/kompozer-0.7.10/mozilla/gfx/src/beos/nsRenderingContextBeOS.cpp |
fgrep utf8pos
utf8pos = new PRInt32[aLength + 1];
delete utf8pos;
Suggest use "delete []" not plain "delete".
Reference: https://bugzilla.novell.com/show_bug.cgi?id=444561
Reproducible: Always
Updated•16 years ago
|
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.8 Branch
Comment 1•16 years ago
|
||
/mozilla/gfx/src/beos/nsRenderingContextBeOS.cpp is no longer and the whole part is replaced by Thebes, it's part of the old Gecko1.8 branch.
As you can see here http://mxr.mozilla.org/mozilla-central/source/gfx/src/ the whole Beos directory is gone and I'm not sure if the Beos port is still maintained.
BTW: Kompozer is independent from Mozilla.org
Reporter | ||
Comment 2•16 years ago
|
||
Untested proposed patch based on firefox-2.0.0.21 source tree. Kompozer is independent from Mozilla.org, but bugs there often come from Mozilla.org.
Comment 3•15 years ago
|
||
Judging from bonsai, Sergei should know if anyone cares about this..
OS: Other → BeOS
Whiteboard: [might want to land on 1.8 branch if anyone needs it]
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•