зеркало из https://github.com/mono/mail-archives.git
184 строки
4.1 KiB
HTML
184 строки
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 428173] New: HtmlDocument.Equals and op_Equality infinite recursion
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20428173%5D%20New%3A%20HtmlDocument.Equals%20and%20op_Equality%0A%20infinite%20recursion&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="079895.html">
|
|
<LINK REL="Next" HREF="079807.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 428173] New: HtmlDocument.Equals and op_Equality infinite recursion</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20428173%5D%20New%3A%20HtmlDocument.Equals%20and%20op_Equality%0A%20infinite%20recursion&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 428173] New: HtmlDocument.Equals and op_Equality infinite recursion">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Sun Sep 21 09:00:05 EDT 2008</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="079895.html">[Mono-bugs] [Bug 428172] WebBrowser: DocumentXxxx properties broken
|
|
</A></li>
|
|
<LI>Next message: <A HREF="079807.html">[Mono-bugs] [Bug 428173] HtmlDocument.Equals and op_Equality infinite recursion
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#79722">[ date ]</a>
|
|
<a href="thread.html#79722">[ thread ]</a>
|
|
<a href="subject.html#79722">[ subject ]</a>
|
|
<a href="author.html#79722">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=428173">https://bugzilla.novell.com/show_bug.cgi?id=428173</A>
|
|
|
|
|
|
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">avidigal at novell.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">andyhume32 at yahoo.co.uk</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="079895.html">[Mono-bugs] [Bug 428172] WebBrowser: DocumentXxxx properties broken
|
|
</A></li>
|
|
<LI>Next message: <A HREF="079807.html">[Mono-bugs] [Bug 428173] HtmlDocument.Equals and op_Equality infinite recursion
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#79722">[ date ]</a>
|
|
<a href="thread.html#79722">[ thread ]</a>
|
|
<a href="subject.html#79722">[ subject ]</a>
|
|
<a href="author.html#79722">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|