Commit Graph

585 Commits

Author SHA1 Message Date
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
104894e27f Add function to set or update block range for specific tape partitions 2025-10-07 15:50:38 +01:00
f8ac3e2a41 Add function to retrieve block range for specific tape partitions 2025-10-07 14:48:12 +01:00
ca60bc53ed Add support for processing tape partition metadata blocks 2025-10-07 14:40:57 +01:00
778dcd8d31 Refactor logging messages in tape.c to remove trailing ellipses 2025-10-07 14:29:46 +01:00
529d5d8f17 Add function to serialize tape file metadata block to image file 2025-10-07 13:00:25 +01:00
f8521e884a Add function to set or update block range for specific tape files 2025-10-07 12:03:59 +01:00
345d101df1 Add function to retrieve block range for specific tape files 2025-10-07 11:45:46 +01:00
f62899ed06 Add support for processing tape files and update context structures 2025-10-07 11:34:37 +01:00
01152f5c25 Add tape media support with metadata structures and update CMake configuration 2025-10-07 04:17:04 +01:00
427d3dc0ae Enable LZMA compression for single-level DDT and update header fields 2025-10-07 03:45:04 +01:00
80113a9aae Allow single level DDT to be located anywhere on file. 2025-10-07 00:32:00 +01:00
e5b9ebd92b Enable LZMA compression for secondary DDT and manage memory allocation 2025-10-06 23:42:05 +01:00
173ecc6698 Fix LZMA properties not being written to image. 2025-10-06 23:41:42 +01:00
c85bba7177 Enable LZMA compression for secondary DDT and manage memory allocation 2025-10-06 22:03:47 +01:00
c7ef4e3185 Enable LZMA compression for media tag blocks and manage memory allocation 2025-10-06 21:42:42 +01:00
db0adc762c Enable LZMA compression for DVD decrypted title key and manage memory allocation 2025-10-06 21:35:12 +01:00
a19329ece3 Enable LZMA compression for DVD sector blocks and manage memory allocation 2025-10-06 21:27:19 +01:00
4efa589524 Enable LZMA compression for sector suffix DDT and handle memory allocation 2025-10-06 17:43:39 +01:00
de4554315d Enable compression for sector prefix DDT and handle memory allocation for LZMA 2025-10-06 17:36:07 +01:00
ed74853297 Enable compression for CD sector suffix blocks and handle memory allocation for LZMA 2025-10-06 17:07:49 +01:00
833dc38a0e Enable compression for CD sector prefix blocks and handle memory allocation for LZMA 2025-10-06 17:01:24 +01:00
d9b61733ab Fix MODE 2 subheaders block compression handling and update written bytes calculation 2025-10-06 16:58:51 +01:00
a819b507da Enable compression for Compact Disc Mode 2 subheaders and handle memory allocation for LZMA 2025-10-06 16:45:21 +01:00
195aece466 Fix LZMA compression for data blocks. 2025-10-06 16:32:50 +01:00
695dfd4e62 Fix duplicate case statement for DvdSectorCprMai in sector handling 2025-10-06 16:18:10 +01:00
bf96106bf3 Add documentation to aaruf_close_current_block 2025-10-06 15:49:18 +01:00