Opened 8 years ago

Closed 8 years ago

#1375 closed defect (fixed)

Invalid type syntax for pair segfaults the compiler

Reported by: megane Owned by:
Priority: critical Milestone: 4.13.0
Component: scrutinizer Version: 4.12.0
Keywords: Cc:
Estimated difficulty: easy

Description

Compiling this kills the compiler (note the spurious dot):
(: foo (pair * . *))

Error: during expansion of (: ...) - segmentation violation

	Call history:

	<syntax>	  (##core#begin (: foo (pair * . *)))
	<syntax>	  (: foo (pair * . *))	<--

Change History (4)

comment:1 Changed 8 years ago by sjamaan

Estimated difficulty: easy
Milestone: someday4.13.0

comment:2 Changed 8 years ago by sjamaan

Thanks for finding this! It's a pretty serious problem, given that length will crash when passed an improper list.

comment:3 Changed 8 years ago by sjamaan

Priority: minorcritical

comment:4 Changed 8 years ago by evhan

Resolution: fixed
Status: newclosed

Fixed by 075e5833 (master) and a8b11466 (chicken-5).

Note: See TracTickets for help on using tickets.