Closed
Bug 333356
Opened 18 years ago
Closed 18 years ago
cellmap dead code & 0 deref
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bernd_mozilla, Assigned: bernd_mozilla)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, fixed1.8.0.5, fixed1.8.1, Whiteboard: [need testcase])
Attachments
(1 file)
2.22 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
dveditz
:
approval-branch-1.8.1+
dveditz
:
approval1.8.0.5+
|
Details | Diff | Splinter Review |
fix for two coverity warnings
Attachment #217771 -
Flags: superreview?(bzbarsky)
Attachment #217771 -
Flags: review?(bzbarsky)
Comment 2•18 years ago
|
||
Comment on attachment 217771 [details] [diff] [review] patch >Index: nsCellMap.cpp >+ // at the right edge of the table as we checked the corner before Can we add an assert to that effect? That is, I assume we'd assert !aIsBottomRight here? r+sr=bzbarsky with that.
Attachment #217771 -
Flags: superreview?(bzbarsky)
Attachment #217771 -
Flags: superreview+
Attachment #217771 -
Flags: review?(bzbarsky)
Attachment #217771 -
Flags: review+
fix checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment on attachment 217771 [details] [diff] [review] patch I checked it with boris comments http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsCellMap.cpp&branch=&root=/cvsroot&subdir=mozilla/layout/tables&command=DIFF_FRAMESET&rev1=3.101&rev2=3.102
Attachment #217771 -
Flags: approval-branch-1.8.1?(roc)
Comment 5•18 years ago
|
||
roc, bz: is this wanted/appropriate for 1.8.0.x also?
Flags: blocking1.8.1?
Flags: blocking1.8.0.5?
Updated•18 years ago
|
Flags: blocking1.8.0.5? → blocking1.8.0.5+
Comment 6•18 years ago
|
||
Comment on attachment 217771 [details] [diff] [review] patch approved for 1.8.0 branch, a=dveditz for drivers
Attachment #217771 -
Flags: approval1.8.0.5+
Attachment #217771 -
Flags: approval-branch-1.8.1?(roc)
Attachment #217771 -
Flags: approval-branch-1.8.1+
fix checked in into branches
Keywords: fixed1.8.0.5,
fixed1.8.1
>Can we add an assert to that effect? That is, I assume we'd assert
>!aIsBottomRight here?
> r+sr=bzbarsky with that.
The patches checked in do not have the assert.
>The patches checked in do not have the assert. and thats intentional!!! Nobody is debugging layout on a branch, the trunk where people debug has the assert see http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=nsCellMap.cpp&branch=&root=/cvsroot&subdir=mozilla/layout/tables&command=DIFF_FRAMESET&rev1=3.101&rev2=3.102 and yes, I did learn my lesson from bug 315210. But please go and put in the assert if you can handle the consequences I will certainly not do it.
Comment 10•18 years ago
|
||
Any easy way to verify this fix? Any testcases or steps associated with the Coverity warnings mentioned?
Whiteboard: [need testcase]
Comment 11•18 years ago
|
||
just get a coverity account and ask it if it complains about the relevant files. for kicks, find a run from before this bug was filed and verify that coverity indeed lists it as a complaint.
Updated•16 years ago
|
Flags: blocking1.8.1?
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•