Skip to content
  • Ben Boeckel's avatar
    PyVTKObject: own the classname memory · 5b6e9c49
    Ben Boeckel authored and David Gobbi's avatar David Gobbi committed
    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.
    5b6e9c49