dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #9921] MethodBuilder.DefineParameter() crashes o


From: Gopal.V
Subject: [Pnet-developers] [bugs #9921] MethodBuilder.DefineParameter() crashes on null param name
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #9921] Latest Modifications:

Changes by: 
                Gopal.V <address@hidden>
'Date: 
                Sun 08/08/2004 at 09:14 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS on 8th-August-2004 (because that's when it was reported ;-)






/**************************************************************************/
[bugs #9921] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9921>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Sun 08/08/2004 at 08:46

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  MethodBuilder.DefineParameter() crashes on null param name

Original Submission:  MethodBuilder.DefineParameter() crashes with the message 
below when a null string is passed for the argument name. (The class lib docs 
explicitly permit the null string to be used here.)

Uncaught exception: System.OutOfMemoryException
        at System.Reflection.Emit.ParameterBuilder.ClrParameterCreate(?)
        at System.Reflection.Emit.ParameterBuilder..ctor(?) in 
./System/Reflection/Emit/ParameterBuilder.cs:54
        at System.Reflection.Emit.MethodBuilder.DefineParameter(?) in 
./System/Reflection/Emit/MethodBuilder.cs:186
        at Testing.Main(?)

Change the null on line 39 to "arg" and the crash does not occur.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Sun 08/08/2004 at 09:14       By: t3rmin4t0r
Fixed in CVS on 8th-August-2004 (because that's when it was reported ;-)






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 08/08/2004 at 08:46  Name: sre-pnet-test.cs  Size: 1.53KB   By: 
mathpup
Test case
http://savannah.gnu.org/bugs/download.php?item_id=9921&amp;item_file_id=1569






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9921>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]