Skip to content

Fix use-after-free in generator #706

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # 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