Commit Graph

892 Commits

Author SHA1 Message Date
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