Summary
Invalid type syntax for pair segfaults the compiler
Metadata
- Id: a9a586a1267c7a77d5417ef40175a2ba2ed07b81
- Trac id: 1375
- Type: defect
- Reporter: megane
- Owner:
- Cc:
- Status: closed
- Component: scrutinizer
- Estimated difficulty: easy
- Resolution: fixed
- Priority: critical
- Milestone: 4.13.0
- Version: 4.12.0
- Changetime: 2017-05-31 07:04:35 UTC
- Created: 2017-05-28 09:14:16 UTC
- Keywords:
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 * . *)) <--
Changes and comments
[2017-05-28 12:09:45 UTC] sjamaan set difficulty to easy
[2017-05-28 12:09:45 UTC] sjamaan changed milestone from someday to 4.13.0
[2017-05-28 12:51:20 UTC] sjamaan wrote:
Thanks for finding this! It's a pretty serious problem, given that length will crash when passed an improper list.
[2017-05-28 12:51:32 UTC] sjamaan changed priority from minor to critical
[2017-05-31 07:04:35 UTC] evhan changed status from new to closed
[2017-05-31 07:04:35 UTC] evhan set resolution to fixed
[2017-05-31 07:04:35 UTC] evhan wrote:
Fixed by 075e5833 (master) and a8b11466 (chicken-5).