[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault on incorrect code

From: Alexandre Duret-Lutz
Subject: segfault on incorrect code
Date: 22 Jan 2004 17:49:51 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3.50

Seeing a thread named "core dump" remembered me an old bug I
stumbled upon years ago (in guile 1.3), but never reported. 
It seems to be still present in recent versions.

% guile
guile> (version)
guile> (define (foo a b c) (< b c))
guile> (sort '(3 2 1) foo)
zsh: segmentation fault  guile

The code is obviously wrong, but maybe sort could check the
arity of its last argument.
Alexandre Duret-Lutz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]