mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
If out-of-disk when saving a consensus cache entry, don't BUG.
Just warn instead. Fixes bug 24859.
This commit is contained in:
@@ -1310,8 +1310,11 @@ store_multiple(consensus_cache_entry_handle_t **handles_out,
|
||||
labels,
|
||||
body_out,
|
||||
bodylen_out);
|
||||
if (BUG(ent == NULL))
|
||||
if (ent == NULL) {
|
||||
log_warn(LD_FS, "Unable to store object %s compressed with %s.",
|
||||
description, methodname);
|
||||
continue;
|
||||
}
|
||||
|
||||
status = CDM_DIFF_PRESENT;
|
||||
handles_out[i] = consensus_cache_entry_handle_new(ent);
|
||||
|
||||
Reference in New Issue
Block a user