Skip to content

Clam 2427 coverity issues 1.3.1#1235

Merged
val-ms merged 5 commits intoCisco-Talos:dev/1.3.1from
val-ms:CLAM-2427-CoverityIssues-1.3.1
Apr 15, 2024
Merged

Clam 2427 coverity issues 1.3.1#1235
val-ms merged 5 commits intoCisco-Talos:dev/1.3.1from
val-ms:CLAM-2427-CoverityIssues-1.3.1

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Apr 14, 2024

Backport of #1218

ragusaa and others added 5 commits April 14, 2024 18:59
Immediately store pointers as new pointer type rather than using
intermediate uint8_t pointer.

Also "unneed" some of the "needed" pointers as soon as we're able to
release them rather than holding on until the end of the UDF image.

Add assorted debug messages and code comments.

Make FileSetDescriptor optional as minor step towards supporting
ExtendedFileEntries.

Minor variable name changes for readability.

Use tag_identifier enum for variable type rather than uint16_t and
add "INVALID_DESCRIPTOR" (0) to enum and use it in the switch. This way
we're not comparing enums with ints.

Move GenericVolumeStructureDescriptor to udf.h.
@val-ms val-ms merged commit 7a16470 into Cisco-Talos:dev/1.3.1 Apr 15, 2024
@val-ms val-ms deleted the CLAM-2427-CoverityIssues-1.3.1 branch April 15, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants