Skip to content

fix: handle malformed geometry payloads#4164

Merged
wellwelwel merged 1 commit intosidorares:masterfrom
wellwelwel:geo
Mar 9, 2026
Merged

fix: handle malformed geometry payloads#4164
wellwelwel merged 1 commit intosidorares:masterfrom
wellwelwel:geo

Conversation

@wellwelwel
Copy link
Collaborator

@wellwelwel wellwelwel commented Mar 9, 2026

Now parseGeometryValue validates counts against remaining buffer bytes before entering loops from malformed geometry payloads.

Related:

cc @peaktwilight

@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.44%. Comparing base (3123b4e) to head (fe22dee).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4164      +/-   ##
==========================================
- Coverage   90.47%   90.44%   -0.03%     
==========================================
  Files          86       86              
  Lines       13980    13989       +9     
  Branches     1732     1733       +1     
==========================================
+ Hits        12648    12653       +5     
- Misses       1332     1336       +4     
Flag Coverage Δ
compression-0 89.69% <100.00%> (-0.03%) ⬇️
compression-1 90.42% <100.00%> (-0.03%) ⬇️
static-parser-0 88.09% <100.00%> (-0.03%) ⬇️
static-parser-1 88.83% <100.00%> (-0.03%) ⬇️
tls-0 89.87% <100.00%> (-0.03%) ⬇️
tls-1 90.22% <100.00%> (-0.03%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wellwelwel wellwelwel marked this pull request as ready for review March 9, 2026 16:08
@wellwelwel wellwelwel merged commit 1869215 into sidorares:master Mar 9, 2026
88 checks passed
@wellwelwel wellwelwel deleted the geo branch March 9, 2026 16:09
@peaktwilight
Copy link

Awesome 👍 !

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.

2 participants