Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows.
This commit is contained in:
parent
bf5678c6d4
commit
2be47f9af8
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
bzr branch lp:libisofs/for-libisoburn (to become libisofs-1.4.6.tar.gz)
|
bzr branch lp:libisofs/for-libisoburn (to become libisofs-1.4.6.tar.gz)
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
* Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows.
|
||||||
* New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid().
|
* New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid().
|
||||||
|
|
||||||
|
|
||||||
libisofs-1.4.4.tar.gz Fri Jul 01 2016
|
libisofs-1.4.4.tar.gz Fri Jul 01 2016
|
||||||
===============================================================================
|
===============================================================================
|
||||||
* Bug fix: HFS+ production could cause MBR partition of type 0xEE without GPT.
|
* Bug fix: HFS+ production could cause MBR partition of type 0xEE without GPT.
|
||||||
|
@ -241,11 +241,11 @@ int create_file_src(Ecma119Image *img, IsoFile *iso, IsoFileSrc **src)
|
|||||||
size = iso_stream_get_size(iso->stream);
|
size = iso_stream_get_size(iso->stream);
|
||||||
if (size > (off_t)MAX_ISO_FILE_SECTION_SIZE && img->opts->iso_level != 3) {
|
if (size > (off_t)MAX_ISO_FILE_SECTION_SIZE && img->opts->iso_level != 3) {
|
||||||
char *ipath = iso_tree_get_node_path(ISO_NODE(iso));
|
char *ipath = iso_tree_get_node_path(ISO_NODE(iso));
|
||||||
ret = iso_msg_submit(img->image->id, ISO_FILE_TOO_BIG, 0,
|
iso_msg_submit(img->image->id, ISO_FILE_TOO_BIG, 0,
|
||||||
"File \"%s\" can't be added to image because "
|
"File \"%s\" cannot be added to image because "
|
||||||
"is greater than 4GB", ipath);
|
"its size is 4 GiB or larger", ipath);
|
||||||
free(ipath);
|
free(ipath);
|
||||||
return ret;
|
return ISO_FILE_TOO_BIG;
|
||||||
}
|
}
|
||||||
ret = iso_file_src_create(img, iso, src);
|
ret = iso_file_src_create(img, iso, src);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user