• Show log

    Commit

  • Hash : e0015f76
    Author : Werner Lemberg
    Date : 2018-05-08T11:51:16

    [autofit] Avoid potential SEGV if running out of memory.
    
    Problem reported by Shailesh Mistry <shailesh.mistry@hotmail.co.uk>.
    
    * src/autofit/afshaper.c (af_shaper_buf_create,
    af_shaper_buf_destroy) [!FT_CONFIG_OPTION_USE_HARFBUZZ]: Don't
    allocate and free a four-byte buffer.  Instead, make those functions
    no-ops; the calling functions will provide a pointer to a buffer
    instead.
    
    * src/autofit/afcjk.c (af_cjk_metrics_init_widths,
    af_cjk_metrics_init_blues, af_cjk_metrics_check_digits),
    src/autofit/aflatin.c (af_latin_metrics_init_widths,
    af_latin_metrics_init_blues, af_latin_metrics_check_digits)
    [!FT_CONFIG_OPTION_USE_HARFBUZZ]: Use pointer to local variable for
    `shaper_buf'.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags