SB-ROTATE-BYTE:ROTATE-BYTE can cause macroexpansion at compile time that allows errors to escape in malformed code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(compile nil '(lambda (x) (sb-rotate-
==>
Error while parsing arguments to DEFMACRO LAMBDA:
too few elements in
()
to satisfy lambda list
(SB-IMPL::ARGS &BODY SB-IMPL::BODY):
at least 1 expected, but got 0
[Condition of type SB-KERNEL:
Restarts:
0: [RETRY] Retry SLIME REPL evaluation request.
1: [*ABORT] Return to SLIME's top level.
2: [ABORT] abort thread (#<THREAD "new-repl-thread" RUNNING {105625B2E3}>)
Backtrace:
0: (SB-C::
1: ((MACRO-FUNCTION LAMBDA) (LAMBDA) #<unused argument>)
2: ((FLET SB-IMPL:
3: (MACROEXPAND (LAMBDA) NIL)
4: ((:SOURCE-TRANSFORM SB-ROTATE-
5: (SB-C::
6: (SB-C::IR1-CONVERT #<SB-C::CTRAN 1 {10568E57A3}> #<SB-C::CTRAN 2 {10568E54F3}> #<SB-C::LVAR 3 {10568E5523}> (SB-ROTATE-
7: (SB-C::
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |