Opened 4 weeks ago

Closed 3 weeks 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 4 weeks ago by sjamaan

  • Estimated difficulty set to easy
  • Milestone changed from someday to 4.13.0

comment:2 Changed 4 weeks 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 4 weeks ago by sjamaan

  • Priority changed from minor to critical

comment:4 Changed 3 weeks ago by evhan

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.