You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/22 12:53:21 UTC
[jira] [Commented] (AVRO-1923) Recursive record causes
StackOverflow in GenericData.toString
[ https://issues.apache.org/jira/browse/AVRO-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15513224#comment-15513224 ]
ASF GitHub Bot commented on AVRO-1923:
--------------------------------------
GitHub user nielsbasjes opened a pull request:
https://github.com/apache/avro/pull/128
AVRO-1923: Stop infinite recursion in GenericData.toString
Simply keep count of the recursion depth and stop at 50 (which seems to me like a good value)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nielsbasjes/avro AVRO-1923
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/128.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #128
----
commit 1a0c0ee22e891537e58f713d3e5dee11b3396da7
Author: Niels Basjes <nb...@bol.com>
Date: 2016-09-22T12:42:47Z
AVRO-1923: Stop infinite recursion in GenericData.toString
----
> Recursive record causes StackOverflow in GenericData.toString
> -------------------------------------------------------------
>
> Key: AVRO-1923
> URL: https://issues.apache.org/jira/browse/AVRO-1923
> Project: Avro
> Issue Type: Bug
> Reporter: Niels Basjes
> Assignee: Niels Basjes
> Attachments: AVRO-1923-Unittest.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)