Skip to content

Crashpad: external crash reporter ignores revoked user consent #1936

Description

@d2anamaria

Problem

With require_user_consent and consent revoked, Crashpad still launches the external crash reporter on crash. That reporter can upload via HTTP, bypassing consent.
Other backends (inproc, breakpad, native) block this in sentry__launch_external_crash_reporter() (solved in #1906). Crashpad uses a separate path: reporter paths are passed to StartHandler, and crashpad_handler calls LaunchCrashReporter() without checking consent.
crashpad_backend_user_consent_changed() only gates minidump HTTP upload (SetUploadsEnabled), not the external reporter.

Expected

Consent revoked → no reporter launch, no upload. With cache-keep, crash data cached for later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugsomething isn't working as it shouldNativeplatform label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions