bytedance / sonic

A blazingly fast JSON serializing & deserializing library
Apache License 2.0
6.71k stars 333 forks source link

fix(arm): fix out of bound in native decoder #676

Closed liuq19 closed 1 month ago

liuq19 commented 1 month ago

Fix possible dirty data in native decoder

codecov-commenter commented 1 month ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 51.53%. Comparing base (125ff79) to head (2a6faf2). Report is 2 commits behind head on main.

Files Patch % Lines
internal/decoder/optdec/native.go 75.00% 1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #676 +/- ## ========================================== - Coverage 52.85% 51.53% -1.33% ========================================== Files 174 128 -46 Lines 11470 10732 -738 ========================================== - Hits 6063 5531 -532 + Misses 5071 4881 -190 + Partials 336 320 -16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.