|
From: | Richard Frith-Macdonald |
Subject: | Re: GSFromUnicode stack trashing bug |
Date: | Wed, 18 Jan 2006 14:20:59 +0000 |
On 18 Jan 2006, at 11:16, Wim Oudshoorn wrote:
There is a bug in the function GSFromUnicode in the file Unicode.m. This bug can corrupt the stack. It is a little tricky to explain, so bear with me :-)
Brilliantly spotted.Aa a quick fix, I changed the code to only GROW() when dpos is at the end of the buffer.
[Prev in Thread] | Current Thread | [Next in Thread] |