Apply Halley's vaLockBuffer & vaLockSurface patch.
code fix.