Skip to content

Commit

Permalink
pointer check
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMoelans committed Feb 6, 2025
1 parent 5bad4d4 commit 45a9f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/sentry_backend_crashpad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ crashpad_backend_startup(
: "";
#ifdef SENTRY_PLATFORM_LINUX
// explicitly set an empty proxy to avoid reading from env. vars. on Linux
if (strcmp(options->proxy, "") == 0) {
if (options->proxy && strcmp(options->proxy, "") == 0) {
proxy_url = "<empty>";
}
#endif
Expand Down

0 comments on commit 45a9f35

Please sign in to comment.