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

Don't ftruncate() non-regular files #278

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Don't ftruncate() non-regular files #278

merged 1 commit into from
Feb 13, 2024

Conversation

kmcfate
Copy link
Contributor

@kmcfate kmcfate commented Jan 31, 2024

Port of bug fix in openssh scp to not ftruncate non-regular files (i.e. FIFO or device node).

Original openssh bug is at https://bugzilla.mindrot.org/show_bug.cgi?id=1236

This will avoid abnormal termination errors.

@mkj
Copy link
Owner

mkj commented Feb 13, 2024

Thanks

@mkj mkj merged commit ae0cf05 into mkj:master Feb 13, 2024
16 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.

2 participants