freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Revert "[bzip2] Avoid use of uninitiali


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] Revert "[bzip2] Avoid use of uninitialized memory."
Date: Wed, 12 Jan 2022 04:58:06 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • src/bzip2/ftbzip2.c
    ... ... @@ -481,9 +481,7 @@
    481 481
         FT_ZERO( stream );
    
    482 482
         stream->memory = memory;
    
    483 483
     
    
    484
    -    /* Don't use `FT_QNEW` here to avoid problems with uninitialized */
    
    485
    -    /* memory later on if the font is malformed.                     */
    
    486
    -    if ( !FT_NEW( zip ) )
    
    484
    +    if ( !FT_QNEW( zip ) )
    
    487 485
         {
    
    488 486
           error = ft_bzip2_file_init( zip, stream, source );
    
    489 487
           if ( error )
    


  • reply via email to

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