Commit Graph

1044 Commits

Author SHA1 Message Date
Thomas Schmitt 7d45c88cff New API call iso_image_get_ignore_aclea(),
new iso_image_set_ignore_aclea() and iso_file_source_get_aa_string() flag bit3 to import all xattr namespaces
2017-10-07 16:51:07 +02:00
Thomas Schmitt 79baab3fc9 Fixed a harmless lapse with static array initialization 2017-09-22 20:42:57 +02:00
Thomas Schmitt 53b2d6dcd7 Bug fix: Reading beyond array end for HFS+ production caused SIGSEGV with FreeBSD 11 CLANG -O2. Thanks ASX of GhostBSD. 2017-09-22 17:26:02 +02:00
Thomas Schmitt 874dc16d92 Fixed a message typo found by lintian 2017-09-16 10:40:35 +02:00
Thomas Schmitt 34e35865fe Silenced harmless compiler warning -Wimplicit-fallthrough 2017-09-15 22:29:02 +02:00
Thomas Schmitt ce831f111c Updated change log 2017-09-12 21:53:42 +02:00
Thomas Schmitt 48ee49a7e0 Version leap to 1.4.9 2017-09-12 21:48:59 +02:00
Thomas Schmitt bdfd4c4a37 Updated changelog. 2017-09-12 12:05:32 +02:00
Thomas Schmitt dfc6de9f79 Version leap to 1.4.8. 2017-09-12 11:58:56 +02:00
Thomas Schmitt 4e5a54c2f9 Swapped at recognition time the precendence of MBR properties "isohybrid" and "protective-msdos-label" 2017-09-09 16:36:43 +02:00
Thomas Schmitt 028f9275d3 Throw error if imported_iso interval would be overwritten by multi-session 2017-08-26 11:47:14 +02:00
Thomas Schmitt cace41ec16 Enabled partition intervals with source "imported_iso" with ISO growing 2017-08-24 12:19:54 +02:00
Thomas Schmitt e599a575dc Closed a memory leak about RRIP CL following 2017-08-21 19:43:19 +02:00
Thomas Schmitt 78b0a7b111 Disallowed RRIP CL chaining in order to break any endless loops. Debian bug 872761. Thanks Jakub Wilk and American Fuzzy Lop. 2017-08-21 19:41:20 +02:00
Thomas Schmitt a7152f5794 Correcting previous commit for supporting multi-session 2017-08-21 12:34:13 +02:00
Thomas Schmitt 2a64d89e6e Refuse to read CE data blocks from after the end of ISO filesystem 2017-08-19 16:55:08 +02:00
Thomas Schmitt 31088d9acc Avoid to read blocks from start of CE area which do not belong to the given file 2017-08-19 14:54:23 +02:00
Thomas Schmitt 91490d5f34 Preventing use of zero sized SUSP CE entry which causes SIGSEGV. Debian bug 872590. Thanks Jakub Wilk and American Fuzzy Lop. 2017-08-19 11:08:02 +02:00
Thomas Schmitt 661b68ce8c Preventing buffer overflow with AAIP AL entry of insufficient size. Debian bug 872545. Thanks Jakub Wilk and American Fuzzy Lop. 2017-08-18 14:56:50 +02:00
Thomas Schmitt 16bde11076 Preventing memory leak caused by RRIP SL entry without PX entry that marks the file as symbolic link 2017-08-18 11:11:05 +02:00
Thomas Schmitt 36c8800ff3 Preventing buffer underread with empty RRIP SL component. Debian bug 872475. Thanks Jakub Wilk and American Fuzzy Lop. 2017-08-18 10:56:59 +02:00
Thomas Schmitt 860a91dd2f Preventing NULL dereference if root directory bears a RRIP RE entry 2017-08-17 08:49:28 +02:00
Thomas Schmitt 280108d2d5 Updated change log 2017-08-14 18:08:48 +02:00
Thomas Schmitt 1e40ed3fab Bug fix: Keeping and patching of loaded boot images failed. Regression by version 1.4.4. 2017-08-14 17:51:05 +02:00
Thomas Schmitt 18ab6019bc Let ISO size cover appended partitions if --protective-msdos-label or nonzero -partition_offset is given 2017-07-02 15:11:20 +02:00
Thomas Schmitt 6282bbc0bc Bug fix: Bit 15 of iso_write_opts_set_system_area did not work with generic MBR 2017-06-29 23:06:07 +02:00
Thomas Schmitt d7737e3ed5 Removed ban on reading El Torito platform ids other than 0 and 0xef 2017-06-03 20:23:54 +02:00
Thomas Schmitt fb8697081b Reacted on harmless compiler warning about uninitialized variable. 2017-04-25 12:11:33 +02:00
Thomas Schmitt 94e4bfb42b Adapted recognizing of partition offset to the changes of rev afb10aa / 1348 2017-04-09 20:58:45 +02:00
Thomas Schmitt 86f6ffc9c9 Let iso_mbr_part_type 0xee override ban on 0xee without GPT 2017-03-19 11:14:49 +01:00
Thomas Schmitt 5600f3d726 When deciding boot flag, consider MBR partition slot empty only if entirely 0 2017-02-27 18:27:59 +01:00
Thomas Schmitt e66b9bfe0c New API call iso_write_opts_set_iso_mbr_part_type() 2017-02-27 09:59:34 +01:00
Thomas Schmitt 094b3f7546 Updated copyright year in system_area.c 2017-01-24 13:00:11 +01:00
Thomas Schmitt 5c1c5cd964 Bug fix: Appended partitions of size >= 4 GiB led to abort with error message "FATAL : ISO overwrite". Thanks to Sven Haardiek. 2017-01-24 10:43:10 +01:00
Thomas Schmitt 215280448f Bug fix: Protective MBR for GPT could emerge with boot flag set. 2017-01-03 12:54:54 +01:00
Thomas Schmitt 3043b5f660 Enabled recognition of partition offset of grub-mkrescue-sed.sh mode "gpt_appended" 2016-12-25 15:46:11 +01:00
Thomas Schmitt afb10aac3b Claiming full output size in first PVD if partition offset is non-zero 2016-12-25 10:05:26 +01:00
Thomas Schmitt 76181d0aa3 Restricted volume size of PVD with non-zero partition offset to filesystem size even if the first PVD claims the whole output size 2016-12-25 10:00:07 +01:00
Thomas Schmitt 8ec75eea6a Bug fix: Non-SUSP data in System Use Area prevented image loading if Rock Ridge was enabled. Thanks to Jonathan Dowland. 2016-11-23 22:52:11 +01:00
Thomas Schmitt 01020ef544 Committed missing part of rev dc6cd94/1342 2016-11-23 22:07:21 +01:00
Thomas Schmitt 2961bdef9f Updated change log 2016-11-13 10:20:24 +01:00
Thomas Schmitt dc6cd946ba New API calls el_torito_set_full_load(), el_torito_get_full_load() 2016-11-13 10:05:18 +01:00
Thomas Schmitt c51efce8d1 Bug fix: iso_read_opts_set_no_rockridge() did not prevent reading of root SUSP 2016-11-13 09:52:25 +01:00
Thomas Schmitt 561e2a6aaa Version leap to 1.4.7 2016-09-16 20:58:19 +02:00
Thomas Schmitt e7dd325ff6 Version leap to 1.4.6. 2016-09-16 11:45:12 +02:00
Thomas Schmitt 496b8051c5 Bug fix: Interpretation of 17 digit timestamps was wrong. 2016-09-13 20:10:17 +02:00
Thomas Schmitt 63c074b0aa Changed severity of ISO_FILE_TOO_BIG from WARNING to FAILURE. 2016-09-12 18:01:14 +02:00
Thomas Schmitt 2be47f9af8 Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows. 2016-09-12 17:58:13 +02:00
Thomas Schmitt 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
Thomas Schmitt 9d64318502 Corrected understanding of relation of RFC 4122 and UEFI GUID.
Thanks Andrei Borzenkov.
2016-08-14 22:24:53 +02:00
Thomas Schmitt 866f647fad New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid(). 2016-08-12 18:18:47 +02:00
Thomas Schmitt b14ee71d51 Setting El torito boot catalog file timestamps to Ecma119Image.now. 2016-08-07 21:11:08 +02:00
Thomas Schmitt c5c9d4e7bf Setting Ecma119Image.now to maximum of effective olume creation date and
volume modification date.
2016-08-07 10:48:03 +02:00
Thomas Schmitt 6321ed4d97 Made isohybrid MBR id reproducible if vol_modification_time or vol_uuid are set 2016-08-05 20:59:17 +02:00
Thomas Schmitt 188e36178b Reacted on some of the complaints of codespell 2016-07-22 16:03:51 +02:00
Thomas Schmitt cbfa9afcf1 Treating OpenBSD like NetBSD. Thanks to SASANO Takayoshi. 2016-07-21 11:44:49 +02:00
Thomas Schmitt 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
Thomas Schmitt d482eb4c96 Version leap to 1.4.5 2016-07-01 19:58:26 +02:00
Thomas Schmitt 1786ceb276 Version leap to 1.4.4 2016-07-01 19:53:15 +02:00
Thomas Schmitt 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
Thomas Schmitt 9440e3061c Recognizing SUN Sparc Disk Label of ISOs smaller than 300 kB. 2016-04-25 11:55:57 +02:00
Thomas Schmitt 122dfe7b87 Re-instated recognition of libisofs PReP which was broken by rev 1295. 2016-04-24 10:38:45 +02:00
Thomas Schmitt 03662f0832 Recognizing the newly introduced consequences of protective msdos label
with alternative grub-mkrescue boot layouts.
2016-04-20 20:11:57 +02:00
Thomas Schmitt 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
Thomas Schmitt b5fb98a2a3 Bug fix: Oversized text in ISO_SYSAREA_REPORT_DOC_ALPHA.
Thanks to Etienne Bergeron.
2016-03-30 21:35:53 +02:00
Thomas Schmitt 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
Thomas Schmitt 0fd7d4d7eb Added "extern C" to libisofs.h 2016-03-15 21:26:06 +01:00
Thomas Schmitt d8dca37d65 Replaced unused timezone parameter of gettimeofday() by NULL 2016-03-10 21:04:48 +01:00
Thomas Schmitt 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
Thomas Schmitt 477bbb89bb Fixed typo "occured" -> "occurred" 2016-02-05 13:52:26 +01:00
Thomas Schmitt 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
Thomas Schmitt 7c05d2a865 Enabled use of --interval:appended_partition_ with ISO growing. 2016-01-20 11:35:29 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt ec35bb21c0 Provisory new pseudo path for El Torito boot images:
--interval:appened_partition_N:all::
2015-12-30 18:56:32 +01:00
Thomas Schmitt 93f3cb1823 Another fix for Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options 2015-12-28 11:51:29 +01:00
Thomas Schmitt fea7be5168 Fixed result of Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options 2015-12-28 11:30:53 +01:00
Thomas Schmitt bd25db9283 Experimental macro Libisofs_mjg_boot_for_grub2 for alternative partition layout 2015-12-27 16:07:27 +01:00
Thomas Schmitt 97eec6162c Bug fix: HFS+ directories could announce more children than they actually have. 2015-12-26 12:25:28 +01:00
Thomas Schmitt 17e8cb6697 Bug fix: The HFS+ filesystem was not marked by in GPT of GRUB2 hybrid layout. 2015-12-23 20:49:13 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt b3701f0b18 Removed the false prediction that HFS+ would cause GPT. 2015-12-22 11:52:33 +01:00
Thomas Schmitt cd0f57dd1a Bug fix: HFS+ production could cause MBR partition of type 0xEE without GPT. 2015-12-20 18:46:44 +01:00
Thomas Schmitt 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
Thomas Schmitt 2f6103b783 Silenced a warning about unused variable if no local extended file attributes
are enabled.
2015-12-15 10:59:23 +01:00
Thomas Schmitt 52972811f8 Version leap to 1.4.3 2015-11-28 21:49:07 +01:00
Thomas Schmitt 089982022c Version leap to 1.4.2 2015-11-28 21:13:51 +01:00
Thomas Schmitt 02a972a2d7 Closed a memory leak during retrieval of xattr. 2015-10-15 17:32:58 +02:00
Thomas Schmitt 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
Thomas Schmitt 79e6312397 Refactored error handling while encoding AAIP information.
Again Coverity CID 12564.
2015-10-15 08:38:56 +02:00
Thomas Schmitt b3a183fceb Made sure that mangling name buffer of 40 bytes cannot overflow.
Coverity CID 12589.
2015-10-13 19:30:17 +02:00
Thomas Schmitt 355f1f7ea2 Avoided to have an unused variable with --disable-xattr. Coverity CID 12544. 2015-10-13 14:40:42 +02:00
Thomas Schmitt 57fd669d1d Fixed compile time warnings with configure --disable-xattr --disable-libac.
Instigated by Coverity CID 12543.
2015-10-13 14:28:34 +02:00
Thomas Schmitt 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
Thomas Schmitt e8b94e7b50 Checking the return value of fcntl(F_SETFL O_NONBLOCK). Coverity CID 12536. 2015-10-13 10:49:16 +02:00
Thomas Schmitt 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
Thomas Schmitt 05d0ee4a37 Fixed double free in case of error while looking up path in loaded ISO image. 2015-10-12 10:56:42 +02:00
Thomas Schmitt c6aedc9eb5 Fixed double free introduced with rev 1233. 2015-10-11 19:57:36 +02:00