vbscript: Fix for unchecked memory access.