On the stability of linear differential equations of second order