Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
You need to sign in or sign up before continuing.
  • go
  • src
  • encoding
  • json
  • decode_test.go
Find file BlameHistoryPermalink
  • itchyny's avatar
    encoding/json: fix scanner byte offset on scanEnd · 7450960a
    itchyny authored Sep 02, 2019
    scanEnd is delayed one byte so we decrement
    the scanner bytes count by 1 to ensure that
    this value is correct in the next call of Decode.
    
    Fixes #32399
    
    Change-Id: I8c8698e7f95bbcf0373aceaa05319819eae9d86f
    GitHub-Last-Rev: 0ac25d8de23d38c7ac577faddc6983571023f561
    GitHub-Pull-Request: golang/go#32598
    Reviewed-on: https://go-review.googlesource.com/c/go/+/182117
    
    
    Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
    Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    7450960a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7