bugGNU Common Lisp - Bugs: bug #7807, setf aref bounds checking failure.

 
 

bug #7807: setf aref bounds checking failure.

Submitted by:  Mike Thomas <mjthomas>
Submitted on:  Fri 20 Feb 2004 05:23:21 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 20 Feb 2004 05:23:21 AM UTC, original submission:

>(setf v1 (make-array 10))


#(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)

>(setf (aref v1 -1) 0)


0

>(aref v1 -2)


Error in EVAL [or a callee]: The variable V1 is unbound.

Fast links are on: do (use-fast-links nil) for debugging
Broken at AREF. Type :H for Help.
1 (Continue) Return to top level.
dbl:>>1

Top level.

>(aref v1 -1)


Error in EVAL [or a callee]: The variable V1 is unbound.

Fast links are on: do (use-fast-links nil) for debugging
Broken at AREF. Type :H for Help.
1 (Continue) Return to top level.
dbl:>>1

Top level.

>(setf v2 (make-array 10))


#(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL)

>(aref v2 -1)


Error in AREF [or a callee]: Array index -1 out of bounds for #(NIL NIL
NIL NIL
NIL NIL
NIL NIL
NIL
NIL)

Fast links are on: do (use-fast-links nil) for debugging
Broken at AREF. Type :H for Help.
1 (Continue) Return to top level.
dbl:>>

Mike Thomas <mjthomas>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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
Tue 20 Jul 2004 12:54:48 AM UTCmjthomasStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1