The stability issue for the inverse problem of the determination of interior and boundary defects in a planar inhomogeneous conductor by a finite number of electrostatic measurements on the boundary is considered. Essentially optimal stability estimates are obtained.