[webkit-gtk] 1.4.1 - CLOSE_WAIT

Marco Peereboom slash at peereboom.us
Tue Jul 12 09:23:33 PDT 2011


On Fri, Jul 08, 2011 at 02:46:20PM -0500, Marco Peereboom wrote:
> This seems to be fixable by doing something like this:
> --- Source/WebCore/platform/graphics/FontFallbackList.cpp.orig	Fri Jul  8 14:05:45 2011
> +++ Source/WebCore/platform/graphics/FontFallbackList.cpp	Fri Jul  8 14:06:48 2011
> @@ -73,7 +73,14 @@ void FontFallbackList::releaseFontData()
>  
>  void FontFallbackList::determinePitch(const Font* font) const
>  {
> +    if (font == NULL)
> +	return;
> +
>      const FontData* fontData = primaryFontData(font);
> +
> +    if (fontData == NULL)
> +	return;
> +
>      if (!fontData->isSegmented())
>          m_pitch = static_cast<const SimpleFontData*>(fontData)->pitch();
>      else {
> 

https://bugs.webkit.org/show_bug.cgi?id=64364


More information about the webkit-gtk mailing list