X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Foctets.lisp;h=eb87cd1a848c847550bfc6f884bc29a5e1397abf;hb=2e002dae2f9a3c64f147ca651751ed833806ad5e;hp=f95bf76ec8fb4d9b568b34a5a501a1bdad778c6f;hpb=5465e5e0ec897a751a4ba4751cb84394995c07cf;p=sbcl.git diff --git a/src/code/octets.lisp b/src/code/octets.lisp index f95bf76..eb87cd1 100644 --- a/src/code/octets.lisp +++ b/src/code/octets.lisp @@ -603,7 +603,7 @@ one-past-the-end" ;; two-byte sequence `"initial (length 3)" ;; "non-continuation"' -- `#xef #x32') ;; signal only part of that sequence as - ;; erronous. + ;; erroneous. (loop for i from 1 below (min len remaining-bytes) always (valid-secondary-p i)) (enough-bytes-left-p len))) @@ -817,7 +817,8 @@ one-past-the-end" (declare (type (vector (unsigned-byte 8)) vector)) (with-array-data ((vector vector) (start start) - (end (%check-vector-sequence-bounds vector start end))) + (end end) + :check-fill-pointer t) (declare (type (simple-array (unsigned-byte 8) (*)) vector)) (funcall (symbol-function (first (external-formats-funs external-format))) vector start end))) @@ -827,7 +828,8 @@ one-past-the-end" (declare (type string string)) (with-array-data ((string string) (start start) - (end (%check-vector-sequence-bounds string start end))) + (end end) + :check-fill-pointer t) (declare (type simple-string string)) (funcall (symbol-function (second (external-formats-funs external-format))) string start end (if null-terminate 1 0))))