Commit by fireball :: r23508 reactos/ntoskrnl/ (cm/regobj.c ob/obhandle.c):

Goodbye REGISTRY_ERROR bsod!

  • Change UserMode -> KernelMode in ObReferenceObject*() calls, because that calls failed
  • Remove Cm-specific hack from Ob "advapi32_winetest.exe registry" shows 0 failures on the first run and 2 failures on further runs. I suppose there might be a leakage in the CM. To be investigated further (or wait till complete Cm rewrite in October).
Still regedit crashes when trying to open a key that contains one or more values.