[cairo] cairo crash in _cairo_hash_string

Carl Worth cworth at cworth.org
Wed Aug 17 12:03:33 PDT 2005

On Wed, 17 Aug 2005 11:46:33 -0700, Bill Spitzak wrote:
> You may want null and zero-length strings to hash differently.

I can't imagine any reason why, (at least in the context of font
filenames as we're talking about here).

But, as it turns out, the NULL-filename case that was triggering this
bug also never uses the hash value anyway. It's fixed in CVS to not
even try computing a hash value in this case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050817/fb3d73a9/attachment.pgp

More information about the cairo mailing list