Generic quadric sections of irreducible curves