We solve the two-impurity, two-channel Kondo model using a combination of conformal invariance and bosonization techniques. In the odd-even symmetric case, the RKKY interaction is exactly marginal, resulting in a line of non-Fermi-liquid fixed points. Explicit formulas are given for the critical exponents and for the finite-size spectrum, which depend continuously on a single parameter. The marginal line spans a range of values of the RKKY coupling which goes from the infinitely strong ferromagnetic point to a finite antiferromagnetic critical value beyond which a Fermi liquid is recovered. When the odd-even symmetry is broken, the marginal line is unstable for ferromagnetic , while for antiferromagnetic it extends into a manifold of fixed points.