Configurational entropy and the stability limit of a glass