Author: gonzalo
Date: 2005-09-23 03:05:30 -0400 (Fri, 23 Sep 2005)
New Revision: 50563

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
2005-09-23 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * AspParser.cs: when processing verbatim input, throw if we reach EOF
        before the expected end of the data.



Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs      
2005-09-23 04:35:39 UTC (rev 50562)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs      
2005-09-23 07:05:30 UTC (rev 50563)
@@ -380,6 +380,9 @@
                                token = tokenizer.get_token ();
                        } 
 
+                       if (token == Token.EOF)
+                               OnError ("Expecting " + end + " and got EOF.");
+
                        return RemoveComments (vb_text.ToString ());
                }
 

Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-09-23 
04:35:39 UTC (rev 50562)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-09-23 
07:05:30 UTC (rev 50563)
@@ -1,3 +1,8 @@
+2005-09-23 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * AspParser.cs: when processing verbatim input, throw if we reach EOF
+       before the expected end of the data.
+
 2005-09-22 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * CachingCompiler.cs: 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to