The success of heavy-ion fusion depends critically on the ability to focus heavy-ion beams to millimeter-size spots. Third-order geometric aberrations caused by fringe fields of the final focusing quadrupoles can significantly distort the focal spot size calculated by first-order theory. We present a method to calculate the locations and strengths of the octopoles that are needed to correct these aberrations. Calculation indicates that the strengths of the octopoles are substantially less than that of the final focusing quadrupoles. 9 refs., 1 fig.