[PATCH] vt: fix possible memory corruption in complement_pos