freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Patch: fix uninitialized variable


From: mpsuzuki
Subject: Re: [ft-devel] Patch: fix uninitialized variable
Date: Tue, 19 Aug 2008 01:47:20 +0900

Hi,

On Mon, 18 Aug 2008 18:01:17 +0200
Mike FABIAN <address@hidden> wrote:

>    error = FT_Stream_New( library, args, &stream );

>      FT_Stream_Free( stream, external_stream );
>
>which crashes because "stream" has not been initialized and contains
>some junk.
>
>That fontforge calls FT_Open_Face() with an invalid library handle
>might be a fontforge bug but freetype2 should not try to free "stream"
>if "stream" has not been allocated.
>
>Initializing stream with NULL in FT_Open_Face() fixes this.

Thank you, I will check your patch and fix the bug
within 48 hours, please wait.

Regards,
mpsuzuki




reply via email to

[Prev in Thread] Current Thread [Next in Thread]