Commit Graph

1054 Commits

Author SHA1 Message Date
2961bdef9f Updated change log 2016-11-13 10:20:24 +01:00
dc6cd946ba New API calls el_torito_set_full_load(), el_torito_get_full_load() 2016-11-13 10:05:18 +01:00
c51efce8d1 Bug fix: iso_read_opts_set_no_rockridge() did not prevent reading of root SUSP 2016-11-13 09:52:25 +01:00
561e2a6aaa Version leap to 1.4.7 2016-09-16 20:58:19 +02:00
e7dd325ff6 Version leap to 1.4.6. 2016-09-16 11:45:12 +02:00
496b8051c5 Bug fix: Interpretation of 17 digit timestamps was wrong. 2016-09-13 20:10:17 +02:00
63c074b0aa Changed severity of ISO_FILE_TOO_BIG from WARNING to FAILURE. 2016-09-12 18:01:14 +02:00
2be47f9af8 Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows. 2016-09-12 17:58:13 +02:00
bf5678c6d4 Removed obsoleted doxygen.conf tags XML_SCHEMA, XML_DTD, SHOW_DIRECTORIES,
HTML_ALIGN_MEMBERS. Corrected EXAMPLE_PATH.
Corrected a few comments which caused valid doxygen complaints.
2016-08-29 17:00:32 +02:00
9d64318502 Corrected understanding of relation of RFC 4122 and UEFI GUID.
Thanks Andrei Borzenkov.
2016-08-14 22:24:53 +02:00
866f647fad New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid(). 2016-08-12 18:18:47 +02:00
b14ee71d51 Setting El torito boot catalog file timestamps to Ecma119Image.now. 2016-08-07 21:11:08 +02:00
c5c9d4e7bf Setting Ecma119Image.now to maximum of effective olume creation date and
volume modification date.
2016-08-07 10:48:03 +02:00
6321ed4d97 Made isohybrid MBR id reproducible if vol_modification_time or vol_uuid are set 2016-08-05 20:59:17 +02:00
188e36178b Reacted on some of the complaints of codespell 2016-07-22 16:03:51 +02:00
cbfa9afcf1 Treating OpenBSD like NetBSD. Thanks to SASANO Takayoshi. 2016-07-21 11:44:49 +02:00
cb519b3692 Reacted on compiler warning of Debian Sid. (By accident the wrong code was
equivalent to the correct code.)
2016-07-03 18:06:40 +02:00
d482eb4c96 Version leap to 1.4.5 2016-07-01 19:58:26 +02:00
1786ceb276 Version leap to 1.4.4 2016-07-01 19:53:15 +02:00
02de4570d1 Included <unistd.h> in aaip_0_2.h to fix a build time issue with musl libc.
Thanks to Baruch Siach.
2016-05-24 13:07:00 +02:00
9440e3061c Recognizing SUN Sparc Disk Label of ISOs smaller than 300 kB. 2016-04-25 11:55:57 +02:00
122dfe7b87 Re-instated recognition of libisofs PReP which was broken by rev 1295. 2016-04-24 10:38:45 +02:00
03662f0832 Recognizing the newly introduced consequences of protective msdos label
with alternative grub-mkrescue boot layouts.
2016-04-20 20:11:57 +02:00
5880636a50 Prevented appended partition from being marked twice in GPT if it is used as
El Torito boot image.
2016-03-31 20:26:36 +02:00
b5fb98a2a3 Bug fix: Oversized text in ISO_SYSAREA_REPORT_DOC_ALPHA.
Thanks to Etienne Bergeron.
2016-03-30 21:35:53 +02:00
b269557743 Bug fix: At image loading time GRUB2 MBR was not recognized if the partition
table is not the protective one as described by UEFI.
2016-03-23 11:24:36 +01:00
0fd7d4d7eb Added "extern C" to libisofs.h 2016-03-15 21:26:06 +01:00
d8dca37d65 Replaced unused timezone parameter of gettimeofday() by NULL 2016-03-10 21:04:48 +01:00
cd84f0927f Introduced image size tolerance of 300 kB in order to recognize SUN Disk Label
that was generated by genisoimage -B "...".
2016-02-27 15:12:11 +01:00
477bbb89bb Fixed typo "occured" -> "occurred" 2016-02-05 13:52:26 +01:00
31fcdc0ba6 New API calls iso_write_opts_set_appended_as_apm(), iso_write_opts_set_part_like_isohybrid() 2016-02-05 10:47:04 +01:00
7c05d2a865 Enabled use of --interval:appended_partition_ with ISO growing. 2016-01-20 11:35:29 +01:00
3d15642307 Preventing production of surplus isohybrid MBR partition for BIOS boot image.
The problem was introduced by rev 1299.
2016-01-17 16:28:40 +01:00
872b5c6c67 New bit15 with options of iso_write_opts_set_system_area() to enforce
MBR bootable/active flag.
2016-01-01 18:17:40 +01:00
ec35bb21c0 Provisory new pseudo path for El Torito boot images:
--interval:appened_partition_N:all::
2015-12-30 18:56:32 +01:00
93f3cb1823 Another fix for Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options 2015-12-28 11:51:29 +01:00
fea7be5168 Fixed result of Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options 2015-12-28 11:30:53 +01:00
bd25db9283 Experimental macro Libisofs_mjg_boot_for_grub2 for alternative partition layout 2015-12-27 16:07:27 +01:00
97eec6162c Bug fix: HFS+ directories could announce more children than they actually have. 2015-12-26 12:25:28 +01:00
17e8cb6697 Bug fix: The HFS+ filesystem was not marked by in GPT of GRUB2 hybrid layout. 2015-12-23 20:49:13 +01:00
9e01d3654e Experimental macros Libisofs_protective_msdos_plus_boot_dummY and
Libisofs_pmpbd_on_lba0 to test augmentation of GRUB2 protective msdos label.
2015-12-22 14:24:08 +01:00
009ce1be8f Bug fix: When reading an ISO filesystem, the presence of
system area options flag bit0 (-protective-msdos-label)
         was not recognized if a partition is appended.
2015-12-22 12:25:50 +01:00
c79299ba08 Bug fix: Options bit0 of iso_write_opts_set_system_area() was not forwarded
to image production if no system area data were given.
         This prevented xorrisofs option --protective-msdos-label from working.
2015-12-22 12:23:13 +01:00
b3701f0b18 Removed the false prediction that HFS+ would cause GPT. 2015-12-22 11:52:33 +01:00
cd0f57dd1a Bug fix: HFS+ production could cause MBR partition of type 0xEE without GPT. 2015-12-20 18:46:44 +01:00
9c334891cf Silenced a warning about unused variable if no local extended file attributes
are enabled. (Previous commit should have been part of the next one.)
2015-12-15 11:01:01 +01:00
2f6103b783 Silenced a warning about unused variable if no local extended file attributes
are enabled.
2015-12-15 10:59:23 +01:00
52972811f8 Version leap to 1.4.3 2015-11-28 21:49:07 +01:00
089982022c Version leap to 1.4.2 2015-11-28 21:13:51 +01:00
02a972a2d7 Closed a memory leak during retrieval of xattr. 2015-10-15 17:32:58 +02:00
da8ad0d2aa Made clear that a freed pointer variable is not really used any more.
Coverity CID 17846.
2015-10-15 11:53:56 +02:00
79e6312397 Refactored error handling while encoding AAIP information.
Again Coverity CID 12564.
2015-10-15 08:38:56 +02:00
b3a183fceb Made sure that mangling name buffer of 40 bytes cannot overflow.
Coverity CID 12589.
2015-10-13 19:30:17 +02:00
355f1f7ea2 Avoided to have an unused variable with --disable-xattr. Coverity CID 12544. 2015-10-13 14:40:42 +02:00
57fd669d1d Fixed compile time warnings with configure --disable-xattr --disable-libac.
Instigated by Coverity CID 12543.
2015-10-13 14:28:34 +02:00
6047464b6b Revoking previous change. It differs from the handling of F_GETFL failure.
So O_NONBLOCK is intended to be nice to have but not mandatory.
2015-10-13 11:02:11 +02:00
e8b94e7b50 Checking the return value of fcntl(F_SETFL O_NONBLOCK). Coverity CID 12536. 2015-10-13 10:49:16 +02:00
cb1e56478a Initializing name truncation parameters of IsoReadOpts to prevent
failure of demo/demo -iso_cat, which does not load the ISO image.
2015-10-12 11:48:27 +02:00
05d0ee4a37 Fixed double free in case of error while looking up path in loaded ISO image. 2015-10-12 10:56:42 +02:00
c6aedc9eb5 Fixed double free introduced with rev 1233. 2015-10-11 19:57:36 +02:00
505bf23aa4 Made sure that missing boot catalog at image load time causes no SIGSEGV
by NULL. Coverity CID 12552.
2015-10-11 18:25:13 +02:00
ccef2f29da Avoiding NULL pointer dereference in case of unexpected file type.
Coverity CID 12550.
2015-10-11 17:36:30 +02:00
b904926443 Checking success of strdup(). Indirectly found by Coverity CID 12548. 2015-10-11 16:11:02 +02:00
7bdc4c96f5 Avoided to close unopened file pointer in case of error. Coverity CID 12546. 2015-10-11 15:18:03 +02:00
fa5e27458a Removed surplus test which was always true. Coverity CID 12539. 2015-10-11 11:02:54 +02:00
7c29a94ab6 Taking into respect the return value of a function which can fail.
Coverity CID 12595.
2015-10-11 10:15:38 +02:00
a4c1e04820 Removed assignment of an unused function result. Coverity CID 12594. 2015-10-11 09:49:15 +02:00
50132d4ff7 Added forgotten emergency exit with faulty MD5 tags. Coverity CID 12596. 2015-10-11 09:44:15 +02:00
4c1c1ea152 voided to have dead code ifndef Libisofs_with_aaip_acL. Coverity CID 12593. 2015-10-10 22:01:05 +02:00
a16d4a28f4 Explicitely set tm_isdst to 0 before calling timegm. Coverity CID 12592. 2015-10-10 21:33:08 +02:00
4633ea3bc8 Explicitely set tm_isdst to 0 before calling timegm. Coverity CID 12591. 2015-10-10 21:31:13 +02:00
430c005666 Corrected initial allocation size of a pointer array. Coverity CID 12588. 2015-10-10 16:47:15 +02:00
af55722830 Corrected allocation size of a pointer array. Coverity CID 12587. 2015-10-10 16:34:29 +02:00
d1da5718c7 Corrected allocation size of a pointer array. Coverity CID 12586. 2015-10-10 16:32:44 +02:00
afb2878773 Corrected allocation size of a pointer array. Coverity CID 12585. 2015-10-10 16:28:48 +02:00
4e7432c20f Removed unnecessary test for NULL. Coverity CID 12584. 2015-10-10 16:02:07 +02:00
7ef616f268 Delaying access to pointer until after NULL check. Coverity CID 12583. 2015-10-10 15:53:55 +02:00
d5f1eb9c65 Closed memory leaks with errors in ecma119_image_new(). Coverity CID 12582. 2015-10-10 15:21:27 +02:00
28b41bce2c Closed memory leaks with errors during creation of HFS+ filesystem.
Coverity CID 12581.
2015-10-10 14:54:06 +02:00
5ac3216933 Closed memory leak with lack of memory during retrieval of HFS+ names.
Coverity CID 12580.
2015-10-10 13:11:31 +02:00
05a2171e04 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12579.
2015-10-10 12:29:01 +02:00
188a41f041 Closed memory leaks with faulty ACL text. Coverity CID 12578. 2015-10-10 12:19:28 +02:00
fbe7f1e89d Closed memory leak with assert error or memory shortage while creating
SL entry. Coverity CID 12576.
2015-10-10 11:48:52 +02:00
d04abdcfbd Closed memory leak with memory shortage while creating IsoSymlink object.
Coverity CID 12575.
2015-10-10 11:05:41 +02:00
a6542e5fa9 Closed memory leak with error while creating IsoFile object. Coverity CID 12574. 2015-10-09 20:42:08 +02:00
78d2c02ad8 Closed memory leak with error in iso_file_make_md5(). Coverity CID 12573. 2015-10-09 20:35:15 +02:00
48453ef1da Closed memory leaks with errors during ISO image import. Coverity CID 12572. 2015-10-09 20:07:29 +02:00
7928c4ec3f Closed memory leak with lack of memory during ISO image import.
Coverity CID 12571.
2015-10-09 19:44:46 +02:00
379e223a5c Cosmetic change in function return value. Coverity CID 12570. 2015-10-09 17:23:08 +02:00
e4750907e3 Removed unused opportunity to call static create_image() with NULL for bootimg.
Coverity CID 12569.
2015-10-09 15:53:29 +02:00
8f76b59541 Closed nasty memory leak with new API call iso_image_dir_get_node().
Coverity CID 12568.
2015-10-09 15:40:24 +02:00
0433b7ea75 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12567.
2015-10-09 15:28:04 +02:00
d8fb8b26a6 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12566.
2015-10-09 14:14:55 +02:00
b9ccdeda72 Closed memory leak with lack of memory during ISO image loading.
Coverity CID 12565.
2015-10-09 13:38:47 +02:00
d04f438ba1 Closed memory leak with Rock Ridge character set conversion failure.
Coverity CID 12562.
2015-10-09 13:25:42 +02:00
e35cb88328 Made sure that iso_file_get_old_image_sections() returns non-NULL only
if section_count > 0. Made sure that callers in libisofs expect all possible
outcome as announced by API description.
2015-10-09 12:03:14 +02:00
83fb614462 Closed memory leak in (improbable) case of error when attaching AAIP
attributes to IsoNode. Coverity CID 12564.
2015-10-09 11:03:38 +02:00
e5f6811795 Reacted on Coverity CID 12538. Mostly cosmetic. 2015-10-08 23:20:29 +02:00
f3b836194c Pleasing Coverity for the improbable case that a builtin error message
length exceeds 4095 bytes.
2015-10-08 23:02:06 +02:00
3a870d23e3 Consolidated maximum length of namespace names. Coverity CID 12590. 2015-10-08 22:40:37 +02:00
06ea46c8d5 Bug fix: Freeing wrong pointer in case of memory shortage. Coverty CID 12600. 2015-10-08 19:52:23 +02:00
d427a03192 Bug fix: Double free if a boot image has no extents. Coverity CID 12599. 2015-10-08 19:47:01 +02:00
2b6071b445 Bug fix: Double free if a boot image has no extents. Coverity CID 12598. 2015-10-08 19:43:08 +02:00
fc448e09c9 Bug fix: Double free if no charset WCHAR_T is available. Coverity CID 12597.
(previous was CID 12601)
2015-10-08 19:35:22 +02:00
7b7da47d86 Bug fix: Double free if no charset WCHAR_T is available. Coverity CID 12597. 2015-10-08 19:27:28 +02:00
01c7a0d5ec Accept Rock Ridge Creation time as ctime if no Attributes time is present. 2015-10-04 18:47:38 +02:00
905f4f898f Fixed SIGSEGV while image import. Introduced by rev 1216. 2015-09-28 20:39:12 +02:00
b9ec876c40 Preventing a theoretically possible negative array index in find_utf8_start() 2015-09-28 11:36:45 +02:00
72ef369a40 Let loaded image adjust truncate length regardless whether larger or
smaller than the current truncate length.
2015-09-27 18:03:18 +02:00
218e26c974 Bug fix: iso_node_get_name() of root node returned NULL pointer rather than
an empty string
2015-09-27 12:30:24 +02:00
395128ef5f New AAIP variable isofs.nt records name truncation parameters. 2015-09-25 19:07:53 +02:00
7a3560035a Rectified handling of oversized filenames by new API calls:
iso_image_set_truncate_mode, iso_image_get_truncate_mode,
iso_truncate_leaf_name, iso_image_set_node_name, iso_image_tree_clone,
iso_image_add_new_dir, iso_image_add_new_file, iso_image_add_new_special,
iso_image_add_new_symlink, iso_image_dir_get_node, iso_image_path_to_node,
2015-09-17 13:59:05 +02:00
7ac5b75748 Bug fix: Names read from Joliet tree where stripped of trailing ";1" 2015-09-07 13:17:08 +02:00
6c3dc3ce4a New API call iso_read_opts_set_ecma119_map(). 2015-08-17 21:52:33 +02:00
bdbaf81e9c Bug fix: zisofs compression caused SIGSEGV (by reading) with files larger than
524160 KiB.
2015-08-11 22:58:37 +02:00
c8ed18695f Restricted size of patchable boot images to 32 MB and prevented
stream filtering on such boot images.
2015-08-11 12:02:26 +02:00
d3fefe4735 Changed wrong use of "resp." in docs 2015-08-01 16:58:40 +02:00
stacker
6947bfe5ec Sorted the data file content extents by ECMA-119 tree rather than
by the red-black tree which shall consolidate files with identical
source object. Discovered and repaired a flaw in transitivity of
iso_stream_cmp_ino().
2015-07-27 13:50:57 +02:00
94f8503b57 Excluded empty data files from being recognized as El Torito boot images
when an ISO gets loaded.
2015-05-23 15:43:39 +02:00
cb519e221e Silenced compiler warnings of NetBSD and Solaris. 2015-05-20 12:19:37 +02:00
2beb0d001b Version leap to 1.4.1 2015-05-17 21:16:35 +02:00
6c9b81a474 Version leap to 1.4.0 2015-05-17 19:27:00 +02:00
393cc070f3 Included stdlib.h in libisofs/util.h to get off_t defined in FreeBSD. 2015-05-17 17:08:04 +02:00
c47167058a Improved handling of cylinder alignment if the resulting image size
size is not divisible by 2048. Old behavior was to not align. New is
to pad up by a few blocks of 512 bytes.
2015-05-10 09:34:45 +02:00
5a3d84cbbb Fixed omissions of rev 1197 about so_write_opts_set_prep_img() and
iso_write_opts_set_efi_bootp().
2015-04-28 14:21:36 +02:00
5f6e64b792 Bug fix: GPT production did not yield proper results with appended sessions
resp. with TOC emulation enabled.
2015-04-25 12:13:11 +02:00
d4b8cbe474 New API object iso_interval_reader. Enabling flag bits for older API calls
iso_write_opts_set_prep_img(), iso_write_opts_set_efi_bootp(),
and iso_write_opts_set_partition_img().
2015-04-23 15:46:04 +02:00
a0719328ea Bug fix: A zero sized GPT partition was marked after the last appended
GPT partition.
2015-04-18 14:07:16 +02:00
c8776e605e Bug fix: iso_image_report_system_area() did not show GPT partitions of size 0. 2015-04-18 13:54:54 +02:00
003aa5832e Fixing an omission of rev 1183. Protective MBR was produced for
appended GPT partitions only if ISOLINUX isohybrid was enabled.
2015-04-14 20:13:06 +02:00
e56a782b89 Bug fix: If iso_write_opts_set_hardlinks() enabled automatic inode numbers,
then they did not get into effect with nodes were zisofs decoder filters got
attached during the image load process.
2015-03-09 19:59:54 +01:00
9e17516e0d Based the iso_stream_cmp_ino() comparison of streams from the loaded
ISO filesystem on their data extents rather than on their inode numbers.
2015-03-09 19:49:39 +01:00
e29cd723dd Accounting for a long AAIP list in root directory. 2015-03-05 15:44:47 +01:00
b0694b4e25 Name change with some debugging macros. 2015-03-01 22:18:59 +01:00
850302dde5 Fixed another bug introduced by rev 1084.
The assumption was wrong that CE must be the last SUSP entry in its
directory record.
2015-03-01 22:14:35 +01:00
26b4222948 Fixed a bug introduced with rev 1184.
Calculated size of the directory tree could differ from written size.
2015-03-01 17:52:19 +01:00
782bb7854e New system area type 6 = DEC Alpha SRM boot sector.
New API calls iso_image_set_alpha_boot(), iso_image_get_alpha_boot().
Thanks to Helge Deller.
2015-02-28 15:13:38 +01:00
9c33eb5f10 Forgot to update copyright in previous commit. 2015-02-28 14:45:29 +01:00
8e55195edc Working around a Linux kernel bug, which hides files of which the
Rock Ridge CE entry points to a range that crosses a block boundary,
or of which the byte offset is larger than the block size of 2048.
Thanks to Joerg Meyer.
2015-02-26 17:56:34 +01:00
527b613607 New API call iso_write_opts_set_appended_as_gpt()
and marking of appended partitions in GPT if GPT emerges for other reasons.
2015-02-06 11:59:25 +01:00
3b0ba17f3d Avoiding a SIGSEGV with loading a faulty ISO filesystem.
Debian bug 774152. Thanks to Jakub Wilk.
2014-12-29 18:32:53 +01:00
585a54d020 Improved size estimation when loading ISO with hidden El Torito images 2014-12-03 20:22:30 +01:00
7ea6d4ebcb Forced ECMA-119 timestamp generation to GMT if no timezone info is available. 2014-11-28 12:08:21 +01:00
3e33fa5fa1 Equipped all non-system-dependent open(2) calls with O_BINARY. 2014-11-26 14:44:43 +01:00
cdc336a02b Checking at configure time for timezone integer variable. 2014-11-26 14:26:14 +01:00
288eb75745 Removed a surplus function definition from system_area.h which spoiled
compilation on Cygwin. Thanks to Gary Jiang.
2014-11-21 10:26:46 +01:00
210b5817cb Letting lfs_read() retry if read(2) returns a short byte count. 2014-11-20 13:15:35 +01:00
2fe0bf511b Continuing GPT inspection even if reading of GPT backup fails 2014-11-11 12:28:23 +01:00
af23ad0f90 Bug fix: Only 128 bytes of an emerging GPT header block were zeroized 2014-11-04 13:48:31 +01:00
0fc4421e15 Bug fix: The header indicator of the last El Torito catalog section header
was set to 0x90 rather than 0x91 if more than one boot image is in that
section.
2014-10-11 14:57:48 +02:00