Skip to content

fix(native): validate buffer attachment paths - #2072

Merged
jpnurmi merged 5 commits into
masterfrom
jpnurmi/fix/native-validate-attachment-path
Sep 7, 2026
Merged

fix(native): validate buffer attachment paths#2072
jpnurmi merged 5 commits into
masterfrom
jpnurmi/fix/native-validate-attachment-path

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Reject paths whose direct parent is not the UUID run directory.

Reject generated paths whose direct parent is not the UUID run directory
while preserving attachment filenames.
Comment thread src/backends/sentry_backend_native.c
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.82353% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.31%. Comparing base (5460803) to head (f433e2c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2072      +/-   ##
==========================================
+ Coverage   74.22%   74.31%   +0.09%     
==========================================
  Files         103      103              
  Lines       26761    26771      +10     
  Branches     4876     4880       +4     
==========================================
+ Hits        19863    19896      +33     
+ Misses       5556     5530      -26     
- Partials     1342     1345       +3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/backends/sentry_backend_native.c
Comment thread src/backends/sentry_backend_native.c
@jpnurmi
jpnurmi merged commit 54c3a52 into master Sep 7, 2026
71 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/fix/native-validate-attachment-path branch September 7, 2026 10:49
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