• Show log

    Commit

  • Hash : c242fe41
    Author : Behdad Esfahbod
    Date : 2015-01-14T18:48:14

    [raster] Fix uninitialized memory access.
    
    Apparently `ras.cProfile' might be uninitialized.  This will be the
    case if `ras.top == ras.cProfile->offset', as can be seen in
    `End_Profile'.  The overshoot code introduced in a change `Fix B/W
    rasterization of subglyphs with different drop-out modes.' (from
    2009-06-18) violated this, accessing `ras.cProfile->flags'
    unconditionally just before calling `End_Profile' (which then
    detected that `cProfile' is uninitialized and didn't touch it).
    
    This was harmless, and was not detected by valgrind before because
    the objects were allocated on the `raster_pool', which was always
    initialized.  With recent change to allocate raster buffers on the
    stack, valgrind now reported this invalid access.
    
    * src/raster/ftraster.c (Convert_Glyph): Don't access an
    uninitialized `cProfile'.
    

  • 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