python312Packages.mandown: 1.10.0 -> 1.10.1 (#370595)
[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;