Skip to content

Conversation

@mkauf
Copy link
Contributor

@mkauf mkauf commented Nov 10, 2025

I'm analyzing a core dump that I got from a customer, the crash happens in libcurl when setting custom HTTP headers. I have reviewed the code, maybe the bug is that mod_md reuses curl handles without resetting them.

I assume that CURLOPT_HTTPHEADER from a previous request has been reused, but it now points to freed or overwritten memory.

This is just a theory, please review carefully, maybe I'm overlooking something...

@icing
Copy link
Owner

icing commented Nov 20, 2025

Merged in c9a3db3. Thanks!

@icing icing closed this Nov 20, 2025
@mkauf mkauf deleted the curl_reset_before_reuse branch November 20, 2025 15:46
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