francoispqt / gojay

high performance JSON encoder/decoder with stream API for Golang
MIT License
2.11k stars 112 forks source link

fix a bug when dec reach to the end with an open \" #60

Closed y-f-u closed 6 years ago

y-f-u commented 6 years ago

This happens in skipArray.

The string skipping part ignores the fact decode only has a limited buffer

codecov-io commented 6 years ago

Codecov Report

Merging #60 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #60   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          34     34           
  Lines        3710   3710           
=====================================
  Hits         3710   3710
Impacted Files Coverage Δ
decode_array.go 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a2c156a...183f892. Read the comment docs.

francoispqt commented 6 years ago

Merging