[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Patch: fix uninitialized variable
From: |
Mike FABIAN |
Subject: |
Re: [ft-devel] Patch: fix uninitialized variable |
Date: |
Tue, 19 Aug 2008 12:07:02 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.5-b28 (linux) |
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!
--
Mike FABIAN <address@hidden> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
Re: [ft-devel] Patch: fix uninitialized variable, George Williams, 2008/08/20