Skip to content

Clam 2427 coverity issues#1218

Merged
val-ms merged 6 commits intoCisco-Talos:mainfrom
ragusaa:CLAM-2427-CoverityIssues
Apr 14, 2024
Merged

Clam 2427 coverity issues#1218
val-ms merged 6 commits intoCisco-Talos:mainfrom
ragusaa:CLAM-2427-CoverityIssues

Conversation

@ragusaa
Copy link
Contributor

@ragusaa ragusaa commented Mar 28, 2024

Addressed various issues reported by coverity. Issue numbers in the commit messages.

@val-ms val-ms force-pushed the CLAM-2427-CoverityIssues branch from 16895cf to c7a606e Compare April 11, 2024 21:38
@val-ms val-ms added the 🍒cherry-pick-candidate A PR that should be backported once approved. label Apr 13, 2024
ragusaa and others added 6 commits April 13, 2024 21:28
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 force-pushed the CLAM-2427-CoverityIssues branch from c7a606e to 00c8158 Compare April 14, 2024 14:07
@val-ms val-ms merged commit 09355cd into Cisco-Talos:main Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒cherry-pick-candidate A PR that should be backported once approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants