Skip to content
Snippets Groups Projects
Commit 5b6e9c49 authored by Ben Boeckel's avatar Ben Boeckel Committed by David Gobbi
Browse files

PyVTKObject: own the classname memory

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.
parent 7d78e329
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment