Re: crash in hangul module + patch



On Thu, 2004-02-19 at 06:21, Radek Doulík wrote:
> Hi,
> 
> I am experiencing crashes in pango when rendering attached file (text.
> utf8). The crash happens in hangul module, where it access memory
> outside array (__jamo_to_ksc5601) boundaries.
> 
> While the attached patch checks the boundaries and avoid the crash, it
> probably doesn't fix the whole problem. I didn't look deeper into it,
> but it seems that pango_itemize should probably make 2 items instead of
> one with hangul shaper.

http://bugzilla.gnome.org/show_bug.cgi?id=129741

In general all shapers need to be handle any characters fed to them, at
least in a simplistic fashion because there is an actual need to feed
neutral characters such as white space, zero width marks, etc to the
shaper handling the adjacent text.

I'd really love it if someone could take a look at this bug and figure
out the right fix.

Regards,
					Owen






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]