[Mono-bugs] [Bug 428173] New: HtmlDocument.Equals and op_Equality infinite recursion
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 21 09:00:05 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=428173
Summary: HtmlDocument.Equals and op_Equality infinite recursion
Product: Mono: Class Libraries
Version: 2.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: avidigal at novell.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
HtmlDocument.Equals calls op_Equality which calls Equals. If passed two
separate instances then infinite mutual recursion occurs and stack overflow
results.
WebBrowser wb = … // Reference some valid instance with page loaded...
HtmlDocument d = wb.Document;
// A hack to get another HtmlDocument instance
HtmlDocument d2 = d.Body.Document;
bool eq = d.Equals(d2); // stack overflow
With the repro app from bug 428172, hit Test->HtmlDocument.Equals. See stack
overflow crash.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list