The oxidation of finite samples of heat-resistant alloys