Commit 259fc450 authored by csr21's avatar csr21
Browse files

fix-render-composite-buffer-overflow

Whoops.  byte count / word length confusion led to the wrong amount of space
being requested of the buffer, with consequent failures in the CLIM Debugger
when run with freetype.

darcs-hash:20070117145056-30503-c81a02c7be0d569e5a307becebec7eb89f1a06a9.gz
parent 922f640f
......@@ -802,7 +802,7 @@ by every function, which attempts to generate RENDER requests."
0)))
(request-length (+ 7 (/ payloadsize 4))))
(declare (integer request-length))
(with-buffer-request (,display (extension-opcode ,display "RENDER") :length request-length)
(with-buffer-request (,display (extension-opcode ,display "RENDER") :length (* 4 request-length))
(data ,opcode)
(length request-length)
(render-op ,alu)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment