Skip to content
  • Ben Boeckel's avatar
    PyVTKObject: own the classname memory · 68c3cc53
    Ben Boeckel authored
    In Python3, we take the actual object and construct a new bytes() object
    from it. We then take a pointer to its data and decref the bytes object.
    If the garbage collector runs between the decref and the use of the
    classname variable further down, it is a use-after-free.
    68c3cc53