Check that input is a list in proper-list-length
proper-list-length and related functions claim to signal an error if the input is not a proper list, and are careful to safely check that the cdr is a cons (with safe-endp). However, they call cdr on the input without checking that it is a list in the first place, resulting in memory-error when compiled with safety 0 instead of type-error as the tests expect.
Showing
-
Maintainer
Thank you.
Would you mind adding a test, please?
-
Developer
It's covered by existing tests, I only found the issue because an existing test was broken.
I suppose I could add a duplicate test that's forced to run with (safety 0)?
-
Maintainer
Hmmm, right.
Perhaps you could make all tests run once with
(safety 3)
and then with(safety 0)
? -
Developer
That's what's happening on my end already, but I'm using a different continuous testing system here. I'm not sure what the best way to set that up in ASDF is, since I'm not very familiar with ASDF.
Please register or sign in to comment