[runtime] Fix a race in mono_class_get_virtual_methods () which happens when klass...
authorZoltan Varga <vargaz@gmail.com>
Sat, 27 May 2017 13:33:59 +0000 (09:33 -0400)
committerGitHub <noreply@github.com>
Sat, 27 May 2017 13:33:59 +0000 (09:33 -0400)
commit5b4ccf033fd8ac35280686390a9a9794dcf00054
tree1eecd584ac3c7055022511919701433db534ed8e
parent9a08e45324715e8b53dab5e4853c9ce79db6cb57
[runtime] Fix a race in mono_class_get_virtual_methods () which happens when klass->method is NULL initially, but gets initialized later. Use the lowest bit of the iterator pointer to distinguish between the two cases. Fixes #56824. (#4933)
mono/metadata/class.c