[
https://issues.apache.org/jira/browse/THRIFT-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-3379.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0
Committed, very good catch.
> 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
> Affects Versions: 0.9.2, 0.9.3
> Reporter: Nobuaki Sukegawa
> Assignee: Nobuaki Sukegawa
> Fix For: 1.0
>
>
> 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)