This segfaults.

  (import (scheme base))
  (write-bytevector (make-bytevector 4096 120) (open-output-bytevector))

The bytevector write function doubles its buffer *once* on overflow,
then memcpys even if the post-doubling buffer still isn't big enough.

scan-buffer-line looks like it has the same problem.

Reply via email to