guile-devel
[Top][All Lists]
Advanced

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

Re: segfault in SRFI-1 partition on non-list input


From: Julian Graham
Subject: Re: segfault in SRFI-1 partition on non-list input
Date: Mon, 28 Apr 2008 09:41:26 -0400

>  The probably is that `SCM_VALIDATE_LIST' uses `scm_ilength ()', which
>  attempts to traverse the list it's given.  Thus, it is undesirable to
>  use it here (and in many other places actually).
>
>  Instead, I propose the following patch, which doesn't add any list
>  traversal but doesn't catch circular lists.  What do you think?


Oh, yeah, that's fine -- sorry, didn't realize that was the behavior
of SCM_VALIDATE_LIST.  Just as long as it doesn't segfault any more,
I'm happy.


Regards,
Julian




reply via email to

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