Skip to content

ftp/sftp: strdup data info memory #16733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

icing
Copy link
Contributor

@icing icing commented Mar 15, 2025

Fix the broken implementation to have data->state carry pointers into connectdata members. Always dup the memory and free when easy handle closes.

icing added 2 commits March 15, 2025 11:20
Fix the broken implementation to have `data->state` carry pointers
into connectdata members. Always dup the memory and free when
easy handle closes.
@bagder bagder closed this in ebce3f0 Mar 15, 2025
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Fix the broken implementation to have `data->state` carry pointers into
connectdata members. Always dup the memory and free when easy handle
closes.

Closes curl#16733
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants