Closed Bug 225993 Opened 23 years ago Closed 10 years ago

DRefTool doesn't correctly handle if ((foo=new bar)==0) return NS_ERROR_OUT_OF_MEMORY;

Categories

(Core Graveyard :: Tracking, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: timeless, Assigned: timeless)

References

Details

if ( (gTextNodeTag = new nsString) == 0 ) return NS_ERROR_OUT_OF_MEMORY; Steps: I:\build\mozilla\debug-i686-pc-cygwin\dist\bin>dreftool -D i:\build\mozilla\editor\libeditor\base\nsEditor.cpp Actual Results: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/editor/libeditor/base/nsEditor.cpp&rev=1.412&mark=741#736 Deref-error: "mSelState" http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/editor/libeditor/base/nsEditor.cpp&rev=1.412&mark=2307#2302 Deref-error: "gTextNodeTag" http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/editor/libeditor/base/nsEditor.cpp&rev=1.412&mark=2309#2304 Deref-error: "gTextNodeTag" Summary for i:\build\mozilla\editor\libeditor\base\nsEditor.cpp: =============================== Files: 1 Lines: 5169 Errors: 3 Expected Results: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/editor/libeditor/base/nsEditor.cpp&rev=1.412&mark=741#736 Deref-error: "mSelState" Errors: 1
Sorry but for a foreseeable future I would like to focus on table bugs and dont intend to work on this.
Assignee: bernd_mozilla → timeless
Marking all tracking bugs which haven't been updated since 2014 as INCOMPLETE. If this bug is still relevant, please reopen it and move it into a bugzilla component related to the work being tracked. The Core: Tracking component will no longer be used.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.