Skip to content

Clam 2269 cdiff unlink#892

Closed
val-ms wants to merge 2 commits intoCisco-Talos:mainfrom
val-ms:CLAM-2269-cdiff-unlink
Closed

Clam 2269 cdiff unlink#892
val-ms wants to merge 2 commits intoCisco-Talos:mainfrom
val-ms:CLAM-2269-cdiff-unlink

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Apr 11, 2023

Fix issue applying cdiffs that unlink a file (e.g. dropping a CBC signature from bytecode.cvd).
Also some minor code cleanup to resolve linter errors.

val-ms added 2 commits April 10, 2023 18:25
Any cdiff or script using the UNLINK operation will fail to delete the
file claiming "No DB open for action UNLINK".

The UNLINK operation appears to be trying to delete a currently open
database, when in fact it should ensure no database is open before
deleting the local file given by the single "db_name" parameter.
@val-ms
Copy link
Contributor Author

val-ms commented Apr 13, 2023

Moved commits from this over to #893 because there were some additional related bugs discovered when working on that and it made sense to fix everything in one PR to get all the tests to pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant