[Mono-bugs] [Bug 524084] NRE during xml deserialization
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jul 21 21:27:46 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=524084
User rkvinge at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524084#c1
--- Comment #1 from Rolf Bjarne Kvinge <rkvinge at novell.com> 2009-07-21 19:27:42 MDT ---
This is the (completely wrong) change I used to find the other bugs:
--- a/class/System.Runtime.Serialization/System.Xml/XmlDictionary.cs
+++ b/class/System.Runtime.Serialization/System.Xml/XmlDictionary.cs
@@ -76,6 +76,8 @@ namespace System.Xml
public virtual XmlDictionaryString Add (string value)
{
+if (value == null)
+ return null;
if (is_readonly)
throw new InvalidOperationException ();
XmlDictionaryString ret;
--
Configure bugmail: http://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