dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bug #4934] Array index referencing broken in C


From: nobody
Subject: [Pnet-developers] [bug #4934] Array index referencing broken in C
Date: Sat, 23 Aug 2003 02:07:10 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624

=================== BUG #4934: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4934&group_id=353

Changes by: Mario D. Santana <address@hidden>
Date: Sat 08/23/2003 at 02:07 (EST5EDT)

------------------ Additional Follow-up Comments ----------------------------
Added note: this may be related to the array initializer bug #4743.



=================== BUG #4934: FULL BUG SNAPSHOT ===================


Submitted by: santana                 Project: DotGNU Portable.NET          
Submitted on: Sat 08/23/2003 at 02:05
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Array index referencing broken in C

Original Submission:  On MacOS X.2.6, the following code sample (which is fine 
with gcc) compiles but spews the following from ilrun:

<Module>::main [206A] - stind.i at verify_ptr.c:322
Uncaught exception: System.Security.VerificationException: Could not verify the 
code
        at <Module>..start(String[])

I came across this while trying to narrow down another problem I was having, 
where it seems that pnet thinks that pointers on a 32-bit system are 8 (or 16?) 
bytes wide.  I didn't get far towards understanding this problem because the 
present bug came up.  (Of course, the present bug may *be* this problem, but I 
thought I'd mention it anyway.)

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

-------------------------------------------------------
Date: Sat 08/23/2003 at 02:07       By: santana
Added note: this may be related to the array initializer bug #4743.


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Sat 08/23/2003 at 02:05  Name: this.c  Size: 0KB   By: santana
Exposes array-index bug in cscc
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=4934&amp;bug_file_id=619


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4934&group_id=353

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



reply via email to

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