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

exec_command segfault partial fix #280

Merged
merged 5 commits into from
Dec 20, 2021
Merged

exec_command segfault partial fix #280

merged 5 commits into from
Dec 20, 2021

Conversation

Qalthos
Copy link
Collaborator

@Qalthos Qalthos commented Dec 15, 2021

SUMMARY

Fixes #255 which seems to have mostly been introduced trying to fix #60

ISSUE TYPE
  • Bugfix Pull Request
ADDITIONAL INFORMATION

The issue with #255 is not actually anything to do with line feeds, but rather reusing the internal libssh_channel. As mentioned at https://api.libssh.org/stable/libssh_tutor_guided_tour.html#using_ssh under "Doing Something", each call to ssh_channel_request_exec requires a fresh channel.

@Qalthos Qalthos changed the title Segfault exec_command segfault partial fix Dec 15, 2021
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SEGFAULT with executing remote commands without LF
2 participants