Microsoft has finally patched the bug in its antivirus program after researchers spotted it last fall.