Skip to content
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

Fix use-after-free in generator #706

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

ncopa
Copy link
Contributor

@ncopa ncopa commented Jan 15, 2025

full_fname() will free the return value in the next call so we need to duplicate it before passing it to rsyserr.

Fixes: #704

full_fname() will free the return value in the next call so we need to
duplicate it before passing it to rsyserr.

Fixes: RsyncProject#704
@tridge tridge merged commit 81ead9e into RsyncProject:master Jan 15, 2025
4 checks passed
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.

Access to previously freed memory
2 participants