src/backup/catalog.rs - dump_dir: make sure we parsed the whole data block
This commit is contained in:
		@ -323,6 +323,10 @@ impl <R: Read + Seek> CatalogReader<R> {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if !cursor.is_empty() {
 | 
			
		||||
            bail!("unable to parse whole catalog data block");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Ok(())
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user