Commit Graph

200 Commits

Author SHA1 Message Date
b9ccdeda72 Closed memory leak with lack of memory during ISO image loading.
Coverity CID 12565.
2015-10-09 13:38:47 +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
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
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
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
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
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
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
c8776e605e Bug fix: iso_image_report_system_area() did not show GPT partitions of size 0. 2015-04-18 13:54:54 +02: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
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
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
2fe0bf511b Continuing GPT inspection even if reading of GPT backup fails 2014-11-11 12:28:23 +01:00
cbea1335d8 Small corrections with MBR assessment of iso_image_report_system_area() 2014-10-03 09:46:59 +02:00
c47451d12b Bug fix: iso_image_report_system_area() caused SIGSEGV by NULL if no valid
ISO 9660 image was loeaded. Thanks to OmegaPhil.
2014-08-16 15:01:11 +02:00
273182aa2a Avoiding complaints of iso_image_report_system_area() about backup GPT
created by a corrected version of syslinux/utils/isohybrid.c
2014-06-23 14:31:23 +02:00
42821af4e6 Tolerating ECMA-119 Extended Attributes when loading an image 2014-06-13 09:34:30 +02:00
c17ba1980a Clarified which inode is local ino_t and which is Rock Ridge uint32_t. 2014-05-27 21:31:53 +02:00
c07f42dfd4 Unified width of index columns to 3 digits in output of iso_image_report_*() 2014-04-29 19:39:42 +02:00
443156e100 Re-arranged output lines of iso_image_report_el_torito() 2014-04-29 19:17:06 +02:00
2f517301de Reacted on a compiler warning about an unused variable. 2014-04-28 21:06:10 +02:00
0bce145343 Changed report format of detected El Torito boot image options 2014-04-27 15:13:57 +02:00
6d64bc23cf Estimating size of El Torito boot images which are not represented by a file 2014-04-27 12:09:13 +02:00
3370f666f9 Split the large macro ISO_SYSAREA_REPORT_DOC into several parts ISO_SYSAREA_REPORT_DOC* 2014-04-24 13:56:52 +02:00
ad279352e3 New API call iso_image_report_el_torito() 2014-04-24 10:15:56 +02:00
593844b0ed Recognizing partition offset 16 if the MBR is a protective msdos label 2014-04-15 10:18:50 +02:00
d93be961e1 Closed a memory leak with disposal of iso_image_report_system_area() result 2014-04-13 11:21:33 +02:00
8c1c0775d6 Closed a memory leak with loading of hidden boot images 2014-04-13 11:07:10 +02:00
2f8bd3ac01 Split the output of iso_image_report_system_area() into separate texts. 2014-04-13 09:16:45 +02:00
dd27f579eb New API call iso_image_report_system_area() 2014-04-11 15:39:45 +02:00
44f475a4ef Improved handling of unconvertable file names and name collsions during iso_image_import() 2014-01-03 18:29:29 +01:00
60eb7e883c Issueing warnings when Joliet file names with non-UCS-2 characters get read 2013-12-31 13:14:42 +01:00
3e3c15812b New API call iso_conv_name_chars(), provisory implementation 2013-12-19 15:41:55 +01:00
88555bd059 New API call iso_write_opts_set_joliet_utf16()
and ability to read Joliet names as UTF-16BE
2013-12-17 21:45:52 +01:00
e886722d65 The sort weight of data files loaded from ISO image is now 2 exp 28 to 1
rather than 2 exp 31 - 1 to - 2 exp 31
2013-05-24 12:35:43 +02:00
337bade549 New option bits with el_torito_set_isolinux_options() and
iso_write_opts_set_system_area() to control GRUB2 patching of
boot image and MBR
2013-04-13 08:38:52 +02:00
1a2e1c767e Now repeating Rock Ridge warnings at most once per loaded image. 2013-04-10 13:32:53 +02:00
d36b3d04a8 Temporarily hosting a test bed for syslinux/core/fs/susp_rr.c in libisofs/fs_image.c 2013-03-31 13:37:39 +02:00
a4f07eb3b3 New API call iso_image_get_pvd_times(). 2013-03-12 17:42:13 +01:00
05e7f84966 Bug fix: Reading damaged Rock Ridge data could cause SIGSEGV by NULL. 2013-01-11 16:22:14 +01:00
c5d8c26653 Bug fix: Prevented a memory fault when reading damaged Rock Ridge information 2013-01-08 08:28:52 +01:00
f384961808 Bug fix: Memory corruption when reading bootable image that was truncated
before the storage location of the boot catalog
2012-04-19 09:29:31 +02:00
e49f9672bc Disabled skipping of ECMA-119 directory /RR_MOVED by name. 2012-03-06 16:18:05 +01:00
842b62d111 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:50:52 +02:00
004aefd0b7 New API call iso_image_get_bootcat() 2011-07-03 21:02:19 +02:00
49b0a89bfe Replaced some large local variables by other means in libisofs/fs_image.c 2011-06-11 12:40:33 +02:00
d361186bca Made callers of iso_file_source_get_path() aware that NULL might be returned. 2011-06-01 11:37:30 +02:00
a37571c6c5 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_image.c 2011-05-21 23:13:16 +02:00
e3329a98a9 Corrected previous revision which freed memory too generously 2011-05-01 22:49:34 +02:00
49efbdad76 Closed tiny memory leak detected by valgrind. 2011-05-01 16:44:20 +02:00
d1c3a017e3 Cleaned up use of PATH_MAX (local filesystem) and LIBISOFS_NODE_PATH_MAX
(ISO filesystem).
2011-04-03 11:02:15 +02:00
71efc996e3 New error code ISO_RR_PATH_TOO_LONG. 2011-03-28 15:00:44 +02:00
f2f780115b New no_md5 value 2 for API call iso_read_opts_set_no_md5() 2011-03-08 19:37:52 +01:00
de3e21629f Corrected little flaws detected by George Danchev with cpp. 2011-02-24 20:02:56 +01:00
38483d894e Added missing iso_filesystem_ref() for cloned node from local filesystem. 2011-02-01 22:16:05 +01:00
1082e628d1 New API calls iso_tree_clone(), iso_stream_clone.
New IsoFileSourceIface version 2 with method clone_src().
New IsoStreamIface version 4 with method clone_stream().
New public function prototype iso_node_xinfo_cloner.
New API calls iso_node_xinfo_make_clonable(), iso_node_xinfo_get_cloner().
New public iso_node_xinfo_cloner instance aaip_xinfo_cloner().
New API calls iso_node_get_next_xinfo(), iso_node_remove_all_xinfo().
New API call iso_node_remove_tree().
2011-02-01 19:16:45 +01:00
a3eeda3d23 Yet incomplete implementation of IsoNode cloning.
(Commited to avoid tangling with upcomming 
 iso_write_opts_set_no_dummy_block_adr())
2011-01-25 10:50:37 +01:00
48ae8acbd6 Better handling of El Torito boot images with identical block address
at image load time.
2010-11-24 10:06:19 +01:00
ba11413a6f Corrected several memory leaks and potential NULL pointer evaluations
in case of memory shortage. All reported by George Danchev.
2010-09-01 10:45:10 +02:00
ae626b9570 Eventually including autotools generated ../config.h with all source files.
(GNU xorriso plans to use autoheader for a diet of its build messages.)
2010-05-16 10:20:12 +02:00
3528493b92 Removed development macro Libisofs_with_checksumS
and made the affected code unconditional.
2010-05-08 22:24:02 +02:00
eb23260459 Removed most of the development remarks of 0.6.31 2010-05-01 20:38:01 +02:00
e4cf93665a Making an educated guess whether the boot images contain a boot info table.
New API call el_torito_seems_boot_info_table() publishes this guess.
2010-04-29 15:10:18 +02:00
02d7a690eb New API calls el_torito_set_id_string(), el_torito_get_id_string(),
el_torito_set_selection_crit(), el_torito_get_selection_crit().
2010-04-23 18:01:27 +02:00
59d143c1f0 Added support for multiple boot images.
New API calls iso_image_add_boot_image() , iso_image_get_all_boot_imgs(),
el_torito_get_boot_platform_id(), el_torito_get_load_seg(),
el_torito_get_load_size(), el_torito_get_bootable()
2010-04-22 14:04:51 +02:00
517f520570 New API call iso_image_set_boot_platform_id().
Downgraded ISO_WRONG_EL_TORITO and ISO_UNSUPPORTED_EL_TORITO from SORRY
to WARN and implemented the tolerance that is promised by their message
texts.
2010-04-20 11:10:00 +02:00
38a7b4a5b1 New API calls iso_read_opts_load_system_area() and iso_image_get_system_area() 2010-04-16 21:49:44 +02:00
23d3c43022 Removed more occurences of old restriction to GPLv2. 2010-01-27 06:48:59 +01:00
cbb376a137 Introduced a default definition for PATH_MAX. 2009-12-31 08:48:51 +01:00
a30bd36a81 Removed the remaining single blanks from empty PVD id strings.
No strcopy() any more in fs_image.c
2009-10-07 17:06:15 +02:00
3814396b08 Added code for repairing "_" in all three PVD id file names. 2009-10-05 21:01:04 +02:00
f88d8a76b0 Avoided to convert empty PVD components copyright_file_id, abstract_file_id, or
bibliographic_file_id to " " and then "_" during multi-session loading and
writing. New util function iso_util_strcopy_untail().
2009-10-05 17:18:20 +02:00
d0996450c7 Made development macro Libisofs_hardlink_prooF unconditional. 2009-08-22 22:33:04 +02:00
b1c4571a95 Made development macro Libisofs_hardlink_matcheR unconditional
and removed an unused variable.
2009-08-22 22:27:24 +02:00
363a39af3e Better messages when aborting iso_image_import() due to checksum failure. 2009-08-18 18:38:29 +02:00
8b800094af Verifying checksum tags of superblock and tree if available and enabled.
New API call iso_md5_match().
2009-08-18 17:03:33 +02:00
955471a064 Augmented checksum tags for superblock and tree by parameter next=
for unambigous linking.
2009-08-16 16:58:41 +02:00
9467f2e644 New API call iso_util_decode_md5_tag(). Augmented checksum tag by self-MD5. 2009-08-14 16:32:10 +02:00
74198afa04 Discarding MD5 array at image load time if its own checksum does not match. 2009-08-13 21:41:30 +02:00
429b4cd21c New API calls iso_write_opts_set_record_md5(), iso_read_opts_set_no_md5() 2009-08-10 21:23:30 +02:00
b5f4a66c59 Initial implementation of MD5 checksums for session and single data files.
To be activated by macro Libisofs_with_checksumS.
New AAIP attributes "isfs.ca" and "isofs.cx".
New API calls iso_image_get_session_md5() and iso_file_get_md5().
2009-08-10 13:56:06 +02:00
5d5a0cbfd4 Removed change timestamps of 0.6.19 2009-05-30 18:00:21 +02:00
4353a35c59 Removed some development remarks 2009-05-30 16:36:54 +02:00
dfcb815480 Removed experimental code about inode number generation from LBA.
Obsoleted macros Libisofs_ino_from_lbA Libisofs_patch_ticket_144.
2009-05-26 18:47:23 +02:00
e8fc149423 Made centralized call of setlocale() unconditional.
Obsoleted macro Libisofs_setlocale_in_iniT.
2009-05-26 18:13:15 +02:00
e12d409b80 Made sure that IsoStream from old image are equivalent only if their
data extents have same LBAs and sizes.
2009-05-24 18:22:02 +02:00
46a947b602 Created means to inquire ECMA119_SYMLINK and ECMA119_SPECIAL
for their original fs,dev,ino
2009-05-03 19:21:21 +02:00
56796ff55f Introduced hardlink unification at image generation time.
For now it works only with data files or with files from the imported image.
2009-05-03 17:08:29 +02:00
da4634a593 Removed a redundant test expression 2009-05-02 19:57:39 +02:00
f18d5157dc Caused image root to memorize its eventual PX inode number. 2009-05-01 16:18:59 +02:00
1218e6e32d New API call iso_read_opts_set_new_inos() 2009-05-01 15:00:43 +02:00