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

Submitted by:  Mario D. Santana <santana>
Submitted on:  Sat 23 Aug 2003 06:05:58 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 15 Feb 2004 06:17:27 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1