Skip to content

reject stream read errors in yyjson_read_fp - #297

Merged
ibireme merged 1 commit into
ibireme:masterfrom
two-heart:fp-stream-ferror
Aug 26, 2026
Merged

reject stream read errors in yyjson_read_fp#297
ibireme merged 1 commit into
ibireme:masterfrom
two-heart:fp-stream-ferror

Conversation

@two-heart

Copy link
Copy Markdown
Contributor

Fixes #296

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.45%. Comparing base (db37a64) to head (0d29eed).

Files with missing lines Patch % Lines
src/yyjson.c 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #297      +/-   ##
==========================================
- Coverage   98.47%   98.45%   -0.03%     
==========================================
  Files           2        2              
  Lines        7743     7745       +2     
==========================================
  Hits         7625     7625              
- Misses        118      120       +2     
Flag Coverage Δ
unittests 98.45% <0.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ibireme
ibireme merged commit 6a8ae46 into ibireme:master Aug 26, 2026
48 of 50 checks passed
@ibireme

ibireme commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

yyjson_read_fp() treats stream read errors as EOF and may accept truncated JSON

2 participants