diff --git a/src/backup/catalog.rs b/src/backup/catalog.rs index 23b670a3..8857205d 100644 --- a/src/backup/catalog.rs +++ b/src/backup/catalog.rs @@ -323,6 +323,10 @@ impl CatalogReader { } } + if !cursor.is_empty() { + bail!("unable to parse whole catalog data block"); + } + Ok(()) }