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: Wed, 20 Aug 2008 01:31:06 +0900

Hi Mike,

On Tue, 19 Aug 2008 12:07:02 +0200
Mike FABIAN <address@hidden> wrote:

>Werner LEMBERG <address@hidden> さんは書きました:
>
>>> Considering the problem you reported, now I think making
>>> FT_Stream_New() initialize *astream always can be more generic
>>> solution.
>>> 
>>> FT_Stream_New() is NOT public function, but it is most fundamental
>>> function to create a stream in FreeType2.  I suppose no FT2 users
>>> write their function creating FT_Stream without FT_Stream_New(), so,
>>> if FT_Stream_New() initializes *astream always, it will prevent the
>>> bug by freeing uninitialized stream in their functions.
>>
>> Preventing bugs at no cost is always a good idea :-)  Please apply.
>
>Thank you very much!

Just I've committed the patch to CVS.
Thank you for reporting the issue!

Regards,
mpsuzuki




reply via email to

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