Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3379

Potential out of range panic in Go JSON protocols

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2, 0.9.3
    • Fix Version/s: 0.10.0
    • Component/s: Go - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Slice length check is incorrect and in rare occasions it can cause run-time panic.

       } else if len(f) >= 0 && f[0] == JSON_NULL[0] {
      

        Attachments

          Activity

            People

            • Assignee:
              nsuke Nobuaki Sukegawa
              Reporter:
              nsuke Nobuaki Sukegawa
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: