freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/


From: Alexei Podtelezhnikov
Subject: [Git][freetype/freetype][master] [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
Date: Fri, 23 Apr 2021 03:07:42 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

3 changed files:

Changes:

  • ChangeLog
    1
    +2021-04-22  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2
    +
    
    3
    +	[gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
    
    4
    +
    
    5
    +	* src/gxvalid/gxvmod.c (gxv_load_table): Do not zero out the buffer.
    
    6
    +	* src/otvalid/otvmod.c (otv_load_table): Ditto.
    
    7
    +
    
    1 8
     2021-04-22  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2 9
     
    
    3 10
     	[psaux] s/FT_ALLOC/FT_QALLOC/ for initialized buffers.
    

  • src/gxvalid/gxvmod.c
    ... ... @@ -62,7 +62,7 @@
    62 62
         if ( error )
    
    63 63
           goto Exit;
    
    64 64
     
    
    65
    -    if ( FT_ALLOC( *table, *table_len ) )
    
    65
    +    if ( FT_QALLOC( *table, *table_len ) )
    
    66 66
           goto Exit;
    
    67 67
     
    
    68 68
         error = FT_Load_Sfnt_Table( face, tag, 0, *table, table_len );
    

  • src/otvalid/otvmod.c
    ... ... @@ -53,7 +53,7 @@
    53 53
         if ( error )
    
    54 54
           goto Exit;
    
    55 55
     
    
    56
    -    if ( FT_ALLOC( *table, *table_len ) )
    
    56
    +    if ( FT_QALLOC( *table, *table_len ) )
    
    57 57
           goto Exit;
    
    58 58
     
    
    59 59
         error = FT_Load_Sfnt_Table( face, tag, 0, *table, table_len );
    


  • reply via email to

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