[Mono-bugs] [Bug 377039] Crash while looking up non-existing property.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Apr 4 08:46:16 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=377039
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377039#c4
--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 2008-04-04 06:46:16 MST ---
Index: src/dependencyobject.cpp
===================================================================
--- src/dependencyobject.cpp (revision 99838)
+++ src/dependencyobject.cpp (working copy)
@@ -1359,6 +1359,9 @@
break;
}
case '.':
+ // do not process unless we processed a '(' earlier
+ if (!res)
+ break;
lu = lu->GetValue (res)->AsDependencyObject ();
expression_found = false;
prop = path + (i + 1);
using the patch "fix"(*) the crash and display
(mopen:21347): Moonlight-WARNING **: No property named Canvas.Left on object
colRect, which has type Rectangle!
(*) there are probably other issues around this that needs reviewing (looking
at them now)
--
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