[ https://issues.apache.org/jira/browse/THRIFT-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951521#comment-14951521 ]
ASF GitHub Bot commented on THRIFT-3379: ---------------------------------------- GitHub user nsuke opened a pull request: https://github.com/apache/thrift/pull/646 THRIFT-3379 Potential out of range panic in Go JSON protocols You can merge this pull request into a Git repository by running: $ git pull https://github.com/nsuke/thrift THRIFT-3379 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/646.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 #646 ---- commit 95a84dc5f4c348bd119368ba0440a663fa1c5d75 Author: Nobuaki Sukegawa <nsu...@gmail.com> Date: 2015-10-10T02:28:54Z THRIFT-3379 Potential out of range panic in Go JSON protocols ---- > Potential out of range panic in Go JSON protocols > -------------------------------------------------- > > Key: THRIFT-3379 > URL: https://issues.apache.org/jira/browse/THRIFT-3379 > Project: Thrift > Issue Type: Bug > Components: Go - Library > Reporter: Nobuaki Sukegawa > > Slice length check is incorrect and in rare occasions it can cause run-time > panic. > {code} > } else if len(f) >= 0 && f[0] == JSON_NULL[0] { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)