You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2022/02/18 06:49:50 UTC
[arrow] branch master updated: ARROW-15714: [C++][Gandiva] Increase the protobuf recursion limit in gandiva protobuf parser
This is an automated email from the ASF dual-hosted git repository.
ravindra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new c54d7b9 ARROW-15714: [C++][Gandiva] Increase the protobuf recursion limit in gandiva protobuf parser
c54d7b9 is described below
commit c54d7b9c3edad0167402d9e2892aaeaf3c6e39c0
Author: Projjal Chanda <ia...@pchanda.com>
AuthorDate: Fri Feb 18 12:17:15 2022 +0530
ARROW-15714: [C++][Gandiva] Increase the protobuf recursion limit in gandiva protobuf parser
Closes #12450 from projjal/patch-1
Authored-by: Projjal Chanda <ia...@pchanda.com>
Signed-off-by: Pindikura Ravindra <ra...@dremio.com>
---
cpp/src/gandiva/jni/jni_common.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/gandiva/jni/jni_common.cc b/cpp/src/gandiva/jni/jni_common.cc
index 5a4cbb0..3940b9c 100644
--- a/cpp/src/gandiva/jni/jni_common.cc
+++ b/cpp/src/gandiva/jni/jni_common.cc
@@ -538,7 +538,7 @@ SchemaPtr ProtoTypeToSchema(const types::Schema& schema) {
bool ParseProtobuf(uint8_t* buf, int bufLen, google::protobuf::Message* msg) {
google::protobuf::io::CodedInputStream cis(buf, bufLen);
- cis.SetRecursionLimit(1000);
+ cis.SetRecursionLimit(2000);
return msg->ParseFromCodedStream(&cis);
}