Edit

kc3-lang/freetype/src/psaux

Branch :

  • Show log

    Commit

  • Author : Sebastian Rasmussen
    Date : 2019-03-05 17:25:19
    Hash : 6a4718a3
    Message : Fix use of uninitialized memory. * src/psaux/psintrp.c (cf2_interpT2CharString): The call to `cf2_arrstack_setCount' may fail because the allocator ran out of memory. When this happens the stack is still written to before the error condition is checked. This means that FreeType writes outside of allocated memory. This commit moves the error check prior to the stack assignment, hence the function now properly returns with an error condition.