SIGSEGV possible through sentry_envelope_write_to_path
When does the problem happen
[ ] During build
[x] During run-time
[ ] When capturing a hard crash
Environment
macOS, but probably doesn't matter.
Steps To Reproduce
If you provide a path using a directory that doesn't exist, then sentry__filewriter_new returns NULL. The sentry_envelope_write_to_path never checks for a null result and attempts to use the fw.
Description
SIGSEGV possible through
sentry_envelope_write_to_path
When does the problem happen
Environment
macOS, but probably doesn't matter.
Steps To Reproduce
If you provide a path using a directory that doesn't exist, then
sentry__filewriter_new
returns NULL. Thesentry_envelope_write_to_path
never checks for a null result and attempts to use thefw
.