Index: lib/src/protobuf/coded_buffer_reader.dart |
diff --git a/lib/src/protobuf/coded_buffer_reader.dart b/lib/src/protobuf/coded_buffer_reader.dart |
index a22b8f1ed7e0df8bdd158c4a664bac8c6c0aa191..81997d22d607f44009d77d01b0f739c53dda3765 100644 |
--- a/lib/src/protobuf/coded_buffer_reader.dart |
+++ b/lib/src/protobuf/coded_buffer_reader.dart |
@@ -67,7 +67,7 @@ class CodedBufferReader { |
throw new InvalidProtocolBufferException.recursionLimitExceeded(); |
} |
++_recursionDepth; |
- message.mergeFromCodedBufferReader(this); |
+ message.mergeFromCodedBufferReader(this, extensionRegistry); |
Søren Gjesse
2015/06/22 07:25:01
Should there be a regression test for this bug?
skybrian
2015/06/23 02:35:33
Probably, but for now, a regression will be caught
|
checkLastTagWas(makeTag(fieldNumber, WIRETYPE_END_GROUP)); |
--_recursionDepth; |
} |
@@ -102,7 +102,7 @@ class CodedBufferReader { |
throw new InvalidProtocolBufferException.truncatedMessage(); |
} |
++_recursionDepth; |
- message.mergeFromCodedBufferReader(this); |
+ message.mergeFromCodedBufferReader(this, extensionRegistry); |
checkLastTagWas(0); |
--_recursionDepth; |
_currentLimit = oldLimit; |