The glitch, which allowed users to eavesdrop on conversations, should be fixed by the end of the week, the company said.