• Show log

    Commit

  • Hash : 326b5ebf
    Author : Behdad Esfahbod
    Date : 2015-08-30T17:29:21

    Poison freed objects such that double-free is detected
    
    Previously we were setting refcount of freed objects to the inert value, which
    was harmful because it caused further destroy()s of the freed object to NOT
    call free() and hence hide the bug.  Indeed, after eb0bf3ae6688b7 test-object
    was double-free'ing objects and this was never caught on Linux.  It only was
    caught as crashing on Mac.
    
    Now we poison refcount upon freeing and check that it's valid whenever reading
    it.  Makes test-object fail now.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/harfbuzz.git
    Git SSH git@git.kmx.io:kc3-lang/harfbuzz.git
    Public access ? public
    Description

    HarfBuzz text shaping engine

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags