bugDotGNU Portable.NET - Bugs: bug #4934, Array index referencing broken in C

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4934: Array index referencing broken in C

Submitter:  Mario D. Santana <santana>
Submitted:  Sat 23 Aug 2003 06:05:58 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sun 15 Feb 2004 06:17:27 AM UTC, comment #2: 

Fix committed to CVS - 15 Feb 2004

Rhys Weatherley <rweather>
Group administrator
Sat 23 Aug 2003 06:07:10 AM UTC, comment #1: 

Added note: this may be related to the array initializer bug #4743.

Mario D. Santana <santana>
Sat 23 Aug 2003 06:05:58 AM UTC, 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.)

Mario D. Santana <santana>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #628:  this.c added by santana (330B - text/plain - Exposes array-index bug in cscc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-02-15 rweather StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code