Commit Graph

611 Commits

Author SHA1 Message Date
a51e170183 Refactor media information retrieval in info.c to use API calls instead of directly accessing context structures. 2025-10-09 01:06:45 +01:00
f4b0f55fc1 Add filetime formatting for creation and last written times in info.c 2025-10-09 00:53:49 +01:00
d24bf749c4 Add media type string conversion and update info display in info.c 2025-10-09 00:53:38 +01:00
802048b957 Enhance application name conversion in convert.c to support UTF-16LE encoding 2025-10-09 00:52:16 +01:00
71bc311140 Enhance error handling in tape.c by adding checks for incorrect identifiers in data blocks 2025-10-08 19:47:40 +01:00
cee3cb88e1 Improve memory management in optical.c by ensuring proper allocation and deallocation of dataTracks 2025-10-08 19:47:27 +01:00
d25b73d8dc Fix memory allocation for MediaModel and DriveFirmwareRevision in metadata.c 2025-10-08 19:47:14 +01:00
854e11bcf8 Enhance dump hardware block processing in dump.c with improved error handling and memory management 2025-10-08 19:47:04 +01:00
69a0496527 Enhance data processing in data.c with improved validation and memory management 2025-10-08 19:46:52 +01:00
ad595b4dac Remove unused function declaration for adding subindex entries in internal.h 2025-10-08 19:46:39 +01:00
c8df31f561 Enhance checksum processing in checksum.c with improved error handling and memory management 2025-10-08 19:46:28 +01:00
15885c76a2 Enhance DDT processing in ddt_v1.c and ddt_v2.c with improved error handling for LZMA compression 2025-10-08 19:46:07 +01:00
69c0b53e1b Enhance index processing in index_v1.c with improved error handling and memory management 2025-10-08 19:45:37 +01:00
2017becbfd Enhance index processing in index_v2.c with improved error handling and memory management 2025-10-08 19:45:27 +01:00
a160fbdbaf Enhance index processing in index_v3.c with improved error handling and memory management 2025-10-08 19:45:17 +01:00
09d58bce8c Refactor compression handling in close.c to improve buffer management and CRC64 calculation 2025-10-08 19:45:04 +01:00
7529b1f9df Refactor DDT initialization for improved memory management and alignment handling 2025-10-08 19:44:38 +01:00
97bc659571 Improve cache initialization to prevent division by zero in blockHeaderCache 2025-10-08 19:43:21 +01:00
ea63297348 Add cleanup function for failed image creation to improve memory management 2025-10-08 19:42:57 +01:00
8162a6f6cb Add memory management improvements and validation checks in aaruf_get_dumphw and aaruf_set_dumphw functions 2025-10-08 19:41:11 +01:00
709543a37d Add null checks for filename and image_stream in aaruf_identify functions 2025-10-08 19:40:38 +01:00
4595fbb4ac Refactor Sony tag handling to improve block validation and memory management 2025-10-08 19:39:47 +01:00
d220ac44f3 Improve cache initialization by adding divisor check to prevent division by zero 2025-10-08 19:39:05 +01:00
6556a943bc Fix block processing flow by adding missing break statements for TapeFileBlock and TapePartitionBlock cases 2025-10-08 19:37:49 +01:00
95f9aa6f65 Initialize context memory after allocation to prevent undefined behavior 2025-10-08 19:37:36 +01:00
1e9ca18c6f Refactor aaruf_open function to improve readability and maintainability 2025-10-08 19:37:20 +01:00
f8488af80e Implement cleanup function for open failures to ensure proper resource deallocation 2025-10-08 19:37:04 +01:00
dd20ab4531 Enhance option parsing with robust error handling and improved value validation 2025-10-08 19:36:16 +01:00
ae19b9198f Refactor error handling in aaruf_read_sector functions to improve robustness and set correct length values 2025-10-08 19:35:56 +01:00
227e9b478f Add missing free calls for allocated memory in sector reading functions 2025-10-08 19:35:15 +01:00
acf92f6dcf Add validation for LZMA block lengths and handle errors in sector reading 2025-10-08 19:34:22 +01:00
38efda2a50 Add error handling for fseek in aaruf_read_sector to improve robustness 2025-10-08 19:33:36 +01:00
fc4fe2d69d Fix TRACE logging to reflect correct function names in sector read error handling 2025-10-08 19:32:52 +01:00
6cb9af6270 Add NULL pointer checks for length in media tag and sector read functions 2025-10-08 19:31:57 +01:00
47750ca6e1 Fix TRACE logging to handle NULL length pointers in media tag and sector read functions 2025-10-08 19:31:02 +01:00
3a3ed3ae11 Add CRC64 update function for stream processing in aaruf_verify_image 2025-10-08 19:29:30 +01:00
c8a99d9538 Fix TRACE format specifiers for consistency in data types 2025-10-08 19:28:11 +01:00
b1001f7062 Fix allocation size for sector_decrypted_title_key to accommodate additional sectors 2025-10-08 19:21:50 +01:00
a94b68418f Fix flac_block_size condition to ensure minimum block size is applied correctly 2025-10-08 19:21:33 +01:00
0d53c988ad Fix EDC retrieval by using memcpy for correct data access 2025-10-08 19:21:14 +01:00
102ef6a1b7 Fix calculation condition for SpamSum in write operations 2025-10-08 19:20:47 +01:00
e512bc358d Fix call to aaruf_create in convert. 2025-10-08 12:45:59 +01:00
af5b9b87a3 Remove warnings in cmake 2025-10-08 12:45:25 +01:00
12d763c984 Integrate vcpkg in cmake 2025-10-08 12:44:09 +01:00
49d827d07f Add metadata retrieval functions for media and drive attributes 2025-10-08 12:23:46 +01:00
cd12ef3504 Add LZMA compression support for sector subchannel blocks 2025-10-07 20:42:18 +01:00
a60ebf8822 Fix missing call to close tape DDT. 2025-10-07 20:19:18 +01:00
12ef719608 Add missing compression in secondary level DDT v2. 2025-10-07 20:17:42 +01:00
2ec5aabd00 Add support for tape DDT management with hash table implementation 2025-10-07 18:03:19 +01:00
c9231a291e Add function to serialize tape partition metadata block to image file 2025-10-07 16:06:04 +01:00