Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
user avatar
rtoy authored
the start.  This was due to one of two things:  The result sequence
was created with a negative length, creating invalid objects, or
accessing the invalid object would cause a segfault.

code/seq.lisp:
o Declare the type of LENGTH in MAKE-SEQUENCE-OF-TYPE better.  It's
  not a fixnum, but an index (non-negative fixnum).  This should catch
  any mistakes where we try to create sequences of negative length.
o Explicitly catch invalid START and END indices in VECTOR-SUBSEQ* and
  LIST-SUBSEQ* and signal an error

general-info/release-20c.txt:
o Document bugfix.
874f052d
History
Name Last commit Last update