[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] t42objs.c (T42_Size_Init): fix possible uninitialized use of
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [PATCH] t42objs.c (T42_Size_Init): fix possible uninitialized use of ttsize |
Date: |
Wed, 4 Jun 2025 07:53:05 -0400 |
Please check again if you see the warning.
> On Jun 4, 2025, at 07:20, Alexei Podtelezhnikov <apodtele@gmail.com> wrote:
>
> FT_Activate_Size had better go under the condition.
>
>> On Jun 4, 2025, at 04:48, Ozkan Sezer <sezeroz@gmail.com> wrote:
>>
>> ---
>> src/type42/t42objs.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c
>> index 7010ba8..a8336b0 100644
>> --- a/src/type42/t42objs.c
>> +++ b/src/type42/t42objs.c
>> @@ -504,7 +504,7 @@
>> T42_Size t42size = (T42_Size)size;
>> FT_Face face = size->face;
>> T42_Face t42face = (T42_Face)face;
>> - FT_Size ttsize;
>> + FT_Size ttsize = NULL;
>> FT_Error error;
>>
>>
>> --
>> O.S.
>> <0001-t42objs.c-T42_Size_Init-fix-possible-uninitialized-u.patch>