Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rust/MANIFEST.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions rust/generated/src__core__observation_retention.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/core/observation_retention.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ static int remove_asset_file(const char *root, const char *stored, int *deleted)
if (!stored || !*stored) return 0;
char path[OBS_PATH_SIZE];
if (resolve_asset_path(root, stored, path, sizeof(path)) != 0) {
if (stored && *stored)
log_warn("Observation asset path is outside the evidence tree; not deleting");
log_warn("Observation asset path is outside the evidence tree; not deleting");
/* A corrupt path is never a file this subsystem may remove. */
return 0;
}
Expand Down
Loading