wrong number of &KEY arguments crashes compiler
Bug #664373 reported by
Mario S. Mommer
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".
tags: | added: review |
Changed in sbcl: | |
status: | New → Fix Committed |
tags: | removed: review |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The attached patch fixes it.
Guard against running deftrasnform for make-array in case of odd number of &key arguments.