Re: crash with 64k page sizes

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

 



Hi again,

So we recently got a bug in rawhide
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202152) where
fontconfig was crashing on a G5 ppc64 box.

It turns out that we've recently switched to using 64k page sizes on
that architecture.  This was causing problems in the
FcCacheMachineSignature() which tries to write the hex encoded page
size into 4 bytes of a buffer.

Behdad suggested a reasonable work around.  Namely, if the page size
won't fit in 4 bytes, extend the page size  one byte to the left into
the empty space before it in the buffer.  This should work because the
string is never parsed.
For those interested, I've filed this here:

https://bugs.freedesktop.org/show_bug.cgi?id=7936
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux