base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / backup / zbackup / protobuf-api-change.patch
blobd071709878be61ac6cf73cf3fb3415f7a62d91d8
1 --- a/backup_restorer.cc
2 +++ b/backup_restorer.cc
3 @@ -48,7 +48,7 @@
4 // TODO: this disables size checks for each separate message. Figure a better
5 // way to do this while keeping them enabled. It seems we need to create an
6 // instance of CodedInputStream for each message, but it might be expensive
7 - cis.SetTotalBytesLimit( backupData.size(), -1 );
8 + cis.SetTotalBytesLimit( backupData.size() );
10 // Used when emitting chunks
11 string chunk;