bugKawa - Bugs: bug #18106, ArrayIndexOutOfBoundsException in...

 
 

bug #18106: ArrayIndexOutOfBoundsException in deep LetExp nesting

Submitted by:  Chris Wegrzyn <cwegrzyn>
Submitted on:  Wed 25 Oct 2006 05:14:30 PM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Compile-time exceptionStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Oct 2006 06:45:44 PM UTC, comment #1:

Thanks for tracking this down! I made a minor optimization on top of your patch (see attachment), and checked it in.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Wed 25 Oct 2006 05:14:30 PM UTC, original submission:

During compilation of a rather large, nested macro, the compiler would throw an ArrayIndexOutOfBoundsException in LetExp.apply. System.arraycopy was just being passed the destination length, instead of the source length. Attached is a patch.

Chris Wegrzyn <cwegrzyn>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #11068:  letexp-2.patch added by bothner (935B - text/x-patch - Tweaked patch)
file #11065:  letexp-nesting.patch added by cwegrzyn (544B - application/octet-stream - patch)

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 25 Oct 2006 06:45:45 PM UTCbothnerAttached File-=>Added letexp-2.patch, #11068
Wed 25 Oct 2006 06:45:44 PM UTCbothnerStatusNone=>Fixed
  Assigned toNone=>bothner
  Open/ClosedOpen=>Closed
Wed 25 Oct 2006 05:14:30 PM UTCcwegrzynAttached File-=>Added letexp-nesting.patch, #11065

Back to the top


Powered by Savane 3.1-cleanup1