wrong number of &KEY arguments crashes compiler

Bug #664373 reported by Mario S. Mommer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

Compiling the following function crashes the compiler (tested on
1.0.43 and 1.0.43.77)

(defun bug (m)
  (make-array m 1))

I observe the correct behavior on the command line,
i.e. with

(make-array 5 1)

it complains that there is an "odd number of &KEY arguments".

Revision history for this message
Stas Boukarev (stassats) wrote :

The attached patch fixes it.
Guard against running deftrasnform for make-array in case of odd number of &key arguments.

Stas Boukarev (stassats)
tags: added: review
Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
tags: removed: review
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.