cl-html-parse icon indicating copy to clipboard operation
cl-html-parse copied to clipboard

compute-coll-string can (and does) overshoot the collector data array

Open reanz59 opened this issue 4 years ago • 0 comments

Replacement code guards limit of from vector:

(defun compute-coll-string (coll) (declare (optimize (speed 3) (safety 1))) ;; return the string that's in the collection (let ((from (collector-data coll))) (subseq from 0 (min (collector-next coll) (array-dimension from 0)))))

reanz59 avatar Sep 01 '21 22:09 reanz59