Commit 4f9b25c
fix(transport): initialize body_path to NULL in prepare_http_request
SENTRY_MAKE uses malloc (not calloc), leaving body_path uninitialized.
The curl/winhttp send functions then check `if (req->body_path)` which
passes on garbage, causing a SEGV when dereferencing the pointer.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4050cc0 commit 4f9b25c
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
0 commit comments