mirror of https://github.com/goccy/go-json.git
Fix decodeEscapeString err
`p` was not updated after the `stream.buf` is reallocated
This commit is contained in:
parent
ad245e5323
commit
91e691adc5
|
@ -170,6 +170,7 @@ RETRY:
|
|||
s.buf = append(s.buf[:s.cursor-1], s.buf[s.cursor:]...)
|
||||
s.length--
|
||||
s.cursor--
|
||||
p = s.bufptr()
|
||||
return p, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue