Fixed SIGSEGV introduced with previous revision

Bu işleme şunda yer alıyor:
Thomas Schmitt 2008-10-25 17:00:47 +00:00
ebeveyn 3b14ee2117
işleme 2bcf60e422
2 değiştirilmiş dosya ile 11 ekleme ve 3 silme

Dosyayı Görüntüle

@ -1 +1 @@
#define Xorriso_timestamP "2008.10.25.123133"
#define Xorriso_timestamP "2008.10.25.170010"

Dosyayı Görüntüle

@ -3892,8 +3892,14 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
if(ret == 1) {
sprintf(respt, "Boot record : El Torito");
ret= Xorriso_is_isohybrid(xorriso, bootimg_node, 0);
if(ret > 0)
if(ret > 0) {
/* >>> Conditions for MBR recognition : first 512 bytes of LBA 0*/
/* >>> byte 432 to 435 holds the lba of bootimg_node */
/* >>> byte 510 is 0x55 , byte 511 is 0xaa */
strcat(respt, " , ISOLINUX boot image capable of isohybrid");
}
strcat(respt, "\n");
Xorriso_toc_line(xorriso, flag & 8);
ret= Xorriso_path_from_node(xorriso, (IsoNode *) bootimg_node, path, 0);
@ -6461,7 +6467,9 @@ int Xorriso_path_from_node(struct XorrisO *xorriso, IsoNode *node,
if(ret > 0) {
ret= 1;
Findjob_get_found_path(job, &found_path, 0);
if(Sfile_str(path, found_path, 0) <= 0)
if(found_path == NULL)
ret= 0;
else if(Sfile_str(path, found_path, 0) <= 0)
ret= -1;
}
Findjob_destroy(&job, 0);