Skip to content

fix: respect consent for external reporters - #168

Merged
jpnurmi merged 1 commit into
getsentryfrom
jpnurmi/fix/consent
Aug 11, 2026
Merged

jpnurmi merged 1 commit into
getsentryfrom
jpnurmi/fix/consent

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Check the database upload setting before launching an external crash reporter. Leave the report pending when consent is revoked (uploads are disabled) so it can be processed later.

See also:

Check the database upload setting before launching an external crash reporter.
Leave the report pending when uploads are disabled so it can be processed later.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 987f342. Configure here.

@jpnurmi
jpnurmi merged commit eb0cc3c into getsentry Aug 11, 2026
27 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/fix/consent branch August 11, 2026 08:50
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
sentry-native 0.16.3

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.

- [ ] `resource` blocks have been checked for updates.
<details>
  <summary>release notes</summary>
  <pre>**Features**:

- Forward `enable_logs` option through `NdkOptions` so the Android SDK can enable native structured logging. ([#1971](getsentry/sentry-native#1971))
- Report enabled Qt and WER integrations in event SDK metadata (`sdk.integrations`) alongside the configured crash backend. ([#1969](https://github.com/
  getsentry/sentry-native/pull/1969))
- Add `sentry_scope_set_span` and `sentry_scope_set_transaction_object` to bind a span or transaction to a given scope. ([#1981](getsentry/sentry-native#1981))

**Fixes**:

- Remove the `serializing envelope into buffer` debug log that could flood logs on every scope flush when an external crash reporter is configured. ([#1988](getsentry/sentry-native#1988))
- Crashpad: avoid allocating while handling a crash. The backend built the attachment `base::FilePath` inside the crash handler; if the crash corrupted the heap (e.g. via an overridden `operator new`) that allocation faults again and the report is lost. The paths are now cached at startup. ([#1984](getsentry/sentry-native#1984))
- Crashpad: prevent external crash reporters from bypassing revoked user consent. ([#1972](getsentry/sentry-native#1972), [crashpad#168](getsentry/crashpad#168))
- Native/Linux: improve startup time by avoiding zeroing a large shmem module array during crash context initialization. ([#1966](getsentry/sentry-native#1966))
- Preserve embedded `NUL` bytes in strings created with `sentry_value_new_string_n` during JSON and MessagePack serialization. `sentry_value_get_length` now returns the full byte length, which can exceed `strlen(sentry_value_as_string(value))`. ([#1968](https://github.com/getsentry/sentry-native/pull/1968))</pre>
  <p>View the full release notes at <a href="https://github.com/getsentry/sentry-native/releases/tag/0.16.3">https://github.com/getsentry/sentry-native/releases/tag/0.16.3</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!16537
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